Struct InstanceId
pub struct InstanceId(/* private fields */);
Implementations§
§impl InstanceId
impl InstanceId
pub fn new(bytes: [u8; 32]) -> InstanceId
Trait Implementations§
§impl Clone for InstanceId
impl Clone for InstanceId
§fn clone(&self) -> InstanceId
fn clone(&self) -> InstanceId
Returns a copy 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 more§impl Debug for InstanceId
impl Debug for InstanceId
§impl From<[u8; 32]> for InstanceId
impl From<[u8; 32]> for InstanceId
§fn from(bytes: [u8; 32]) -> InstanceId
fn from(bytes: [u8; 32]) -> InstanceId
Converts to this type from the input type.
§impl PartialEq for InstanceId
impl PartialEq for InstanceId
§impl Zeroize for InstanceId
impl Zeroize for InstanceId
impl Copy for InstanceId
impl StructuralPartialEq for InstanceId
Auto Trait Implementations§
impl Freeze for InstanceId
impl RefUnwindSafe for InstanceId
impl Send for InstanceId
impl Sync for InstanceId
impl Unpin for InstanceId
impl UnwindSafe for InstanceId
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