pub enum ContractSchema {
Static(fn() -> Value),
Owned(Value),
}Variants§
Trait Implementations§
Source§impl From<Value> for ContractSchema
impl From<Value> for ContractSchema
Source§fn from(value: Value) -> ContractSchema
fn from(value: Value) -> ContractSchema
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContractSchema
impl RefUnwindSafe for ContractSchema
impl Send for ContractSchema
impl Sync for ContractSchema
impl Unpin for ContractSchema
impl UnsafeUnpin for ContractSchema
impl UnwindSafe for ContractSchema
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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