pub struct ContractVolume {
pub region: String,
pub boxes: Vec<Region>,
}Expand description
An edge’s own volume — an opening, a stair’s treads, a fall column.
Fields§
§region: StringThe region’s name, which is what content binds to.
boxes: Vec<Region>The cells it covers.
Trait Implementations§
Source§impl Clone for ContractVolume
impl Clone for ContractVolume
Source§impl Debug for ContractVolume
impl Debug for ContractVolume
Source§impl<'de> Deserialize<'de> for ContractVolume
impl<'de> Deserialize<'de> for ContractVolume
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ContractVolume
impl JsonSchema for ContractVolume
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ContractVolume
impl PartialEq for ContractVolume
Source§impl Serialize for ContractVolume
impl Serialize for ContractVolume
impl StructuralPartialEq for ContractVolume
Auto Trait Implementations§
impl Freeze for ContractVolume
impl RefUnwindSafe for ContractVolume
impl Send for ContractVolume
impl Sync for ContractVolume
impl Unpin for ContractVolume
impl UnsafeUnpin for ContractVolume
impl UnwindSafe for ContractVolume
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more