pub struct AlternateId { /* private fields */ }Expand description
Native representation of the state object AlternateId
An AlternateId is a separate identifier from the Organization’s unique identifier, org_id.
This enables certain smart contracts to identify an Organization within its own context.
Implementations
Trait Implementations
sourceimpl Clone for AlternateId
impl Clone for AlternateId
sourcefn clone(&self) -> AlternateId
fn clone(&self) -> AlternateId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AlternateId
impl Debug for AlternateId
sourceimpl FromBytes<AlternateId> for AlternateId
impl FromBytes<AlternateId> for AlternateId
fn from_bytes(bytes: &[u8]) -> Result<AlternateId, ProtoConversionError>
sourceimpl FromNative<AlternateId> for AlternateId
impl FromNative<AlternateId> for AlternateId
fn from_native(id: AlternateId) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<AlternateId> for AlternateId
impl FromProto<AlternateId> for AlternateId
fn from_proto(id: AlternateId) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for AlternateId
impl IntoBytes for AlternateId
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<AlternateId> for AlternateId
impl IntoNative<AlternateId> for AlternateId
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<AlternateId> for AlternateId
impl IntoProto<AlternateId> for AlternateId
fn into_proto(self) -> Result<T, ProtoConversionError>
sourceimpl PartialEq<AlternateId> for AlternateId
impl PartialEq<AlternateId> for AlternateId
sourcefn eq(&self, other: &AlternateId) -> bool
fn eq(&self, other: &AlternateId) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AlternateId) -> bool
fn ne(&self, other: &AlternateId) -> bool
This method tests for !=.
impl StructuralPartialEq for AlternateId
Auto Trait Implementations
impl RefUnwindSafe for AlternateId
impl Send for AlternateId
impl Sync for AlternateId
impl Unpin for AlternateId
impl UnwindSafe for AlternateId
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