pub struct ContractNoBody {
pub reason: String,
pub boxes: Vec<Region>,
}Expand description
One entry of spatial_contract.no_body.
Fields§
§reason: StringWhy these cells are out of play, in the author’s words. Which exemption the region qualifies for is a fact about the blocks and is not recorded here.
boxes: Vec<Region>The cells it covers.
Trait Implementations§
Source§impl Clone for ContractNoBody
impl Clone for ContractNoBody
Source§impl Debug for ContractNoBody
impl Debug for ContractNoBody
Source§impl<'de> Deserialize<'de> for ContractNoBody
impl<'de> Deserialize<'de> for ContractNoBody
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 ContractNoBody
impl JsonSchema for ContractNoBody
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 ContractNoBody
impl PartialEq for ContractNoBody
Source§impl Serialize for ContractNoBody
impl Serialize for ContractNoBody
impl StructuralPartialEq for ContractNoBody
Auto Trait Implementations§
impl Freeze for ContractNoBody
impl RefUnwindSafe for ContractNoBody
impl Send for ContractNoBody
impl Sync for ContractNoBody
impl Unpin for ContractNoBody
impl UnsafeUnpin for ContractNoBody
impl UnwindSafe for ContractNoBody
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