pub struct StoreContract {
pub schema: String,
pub namespace: String,
pub durability: String,
pub encryption: String,
pub atomicity: String,
pub conflict: String,
pub expiry: String,
pub invalidation: String,
pub erasure: String,
}Expand description
The host store’s terms, each a declared string recorded as given. Rustev checks only that each is stated and that the store reports the same contract; it owns none of them (spec 044, 2.1).
Fields§
§schema: String§namespace: String§durability: String§encryption: String§atomicity: String§conflict: String§expiry: String§invalidation: String§erasure: StringImplementations§
Trait Implementations§
Source§impl Clone for StoreContract
impl Clone for StoreContract
Source§impl Debug for StoreContract
impl Debug for StoreContract
Source§impl<'de> Deserialize<'de> for StoreContract
impl<'de> Deserialize<'de> for StoreContract
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
impl Eq for StoreContract
Source§impl JsonSchema for StoreContract
impl JsonSchema for StoreContract
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 StoreContract
impl PartialEq for StoreContract
Source§impl Serialize for StoreContract
impl Serialize for StoreContract
impl StructuralPartialEq for StoreContract
Auto Trait Implementations§
impl Freeze for StoreContract
impl RefUnwindSafe for StoreContract
impl Send for StoreContract
impl Sync for StoreContract
impl Unpin for StoreContract
impl UnsafeUnpin for StoreContract
impl UnwindSafe for StoreContract
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