pub struct ContractRecord(pub Contract);Expand description
Storage shape for a migrated boarding service rules.
Tuple Fields§
§0: ContractTrait Implementations§
Source§impl Clone for ContractRecord
impl Clone for ContractRecord
Source§fn clone(&self) -> ContractRecord
fn clone(&self) -> ContractRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContractRecord
impl Debug for ContractRecord
Source§impl<'de> Deserialize<'de> for ContractRecord
impl<'de> Deserialize<'de> for ContractRecord
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 From<Contract> for ContractRecord
impl From<Contract> for ContractRecord
Source§impl From<ContractRecord> for Contract
impl From<ContractRecord> for Contract
Source§fn from(record: ContractRecord) -> Self
fn from(record: ContractRecord) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContractRecord
impl PartialEq for ContractRecord
Source§impl Serialize for ContractRecord
impl Serialize for ContractRecord
impl Eq for ContractRecord
impl StructuralPartialEq for ContractRecord
Auto Trait Implementations§
impl Freeze for ContractRecord
impl RefUnwindSafe for ContractRecord
impl Send for ContractRecord
impl Sync for ContractRecord
impl Unpin for ContractRecord
impl UnsafeUnpin for ContractRecord
impl UnwindSafe for ContractRecord
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