ReferenceSdkRustTypes
BoundingBox
Rust struct goodmem::models::BoundingBox: declaration, fields or variants, and implementations.
Struct BoundingBox
goodmem::models::BoundingBox
Bounding box coordinates in page space.
pub struct BoundingBox {
pub x1: f64,
pub y1: f64,
pub x2: f64,
pub y2: f64,
}Fields
x1
pub x1: f64
Left coordinate
Wire name: x1.
y1
pub y1: f64
Top coordinate
Wire name: y1.
x2
pub x2: f64
Right coordinate
Wire name: x2.
y2
pub y2: f64
Bottom coordinate
Wire name: y2.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for BoundingBoximpl std::fmt::Debug for BoundingBox