pub struct Schema { /* private fields */ }Expand description
Native representation of a Schema
A schema provides the definition for a property across smart contracts
Implementations
Trait Implementations
sourceimpl FromBytes<Schema> for Schema
impl FromBytes<Schema> for Schema
fn from_bytes(bytes: &[u8]) -> Result<Schema, ProtoConversionError>
sourceimpl FromNative<Schema> for Schema
impl FromNative<Schema> for Schema
fn from_native(schema: Schema) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<Schema> for Schema
impl FromProto<Schema> for Schema
fn from_proto(schema: Schema) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for Schema
impl IntoBytes for Schema
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<Schema> for Schema
impl IntoNative<Schema> for Schema
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<Schema> for Schema
impl IntoProto<Schema> for Schema
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Schema
Auto Trait Implementations
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more