pub struct ContractSpace {
pub envelope: String,
pub boxes: Vec<Region>,
}Expand description
One entry of spatial_contract.spaces.
Fields§
§envelope: Stringenclosed | open_top | open.
boxes: Vec<Region>The cells it covers.
Trait Implementations§
Source§impl Clone for ContractSpace
impl Clone for ContractSpace
Source§impl Debug for ContractSpace
impl Debug for ContractSpace
Source§impl<'de> Deserialize<'de> for ContractSpace
impl<'de> Deserialize<'de> for ContractSpace
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 ContractSpace
impl JsonSchema for ContractSpace
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 ContractSpace
impl PartialEq for ContractSpace
Source§impl Serialize for ContractSpace
impl Serialize for ContractSpace
impl StructuralPartialEq for ContractSpace
Auto Trait Implementations§
impl Freeze for ContractSpace
impl RefUnwindSafe for ContractSpace
impl Send for ContractSpace
impl Sync for ContractSpace
impl Unpin for ContractSpace
impl UnsafeUnpin for ContractSpace
impl UnwindSafe for ContractSpace
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