pub struct Version { /* private fields */ }Expand description
Native implementation for Version
Implementations§
Source§impl Version
impl Version
pub fn version(&self) -> &String
pub fn contract_sha512(&self) -> &String
pub fn creator(&self) -> &String
pub fn into_builder(self) -> VersionBuilder
Trait Implementations§
Source§impl FromNative<Version> for ContractRegistry_Version
impl FromNative<Version> for ContractRegistry_Version
fn from_native(native: Version) -> Result<Self, ProtoConversionError>
Source§impl FromProto<ContractRegistry_Version> for Version
impl FromProto<ContractRegistry_Version> for Version
fn from_proto( proto: ContractRegistry_Version, ) -> Result<Self, ProtoConversionError>
Source§impl IntoNative<Version> for ContractRegistry_Version
impl IntoNative<Version> for ContractRegistry_Version
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<ContractRegistry_Version> for Version
impl IntoProto<ContractRegistry_Version> for Version
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
Source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.Source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
Source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.