pub struct ShepherdVersionHash(/* private fields */);Implementations§
Source§impl ShepherdVersionHash
impl ShepherdVersionHash
Sourcepub const fn short_hash(&self) -> u32
pub const fn short_hash(&self) -> u32
Hash of the deployed code
Units: hash
Bits: 0..32
Sourcepub const fn with_short_hash_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_short_hash_checked(self, value: u32) -> Result<Self, ()>
Hash of the deployed code
Units: hash
Bits: 0..32
Sourcepub const fn with_short_hash(self, value: u32) -> Self
pub const fn with_short_hash(self, value: u32) -> Self
Hash of the deployed code
Units: hash
Bits: 0..32
Sourcepub const fn set_short_hash(&mut self, value: u32)
pub const fn set_short_hash(&mut self, value: u32)
Hash of the deployed code
Units: hash
Bits: 0..32
Sourcepub const fn set_short_hash_checked(&mut self, value: u32) -> Result<(), ()>
pub const fn set_short_hash_checked(&mut self, value: u32) -> Result<(), ()>
Hash of the deployed code
Units: hash
Bits: 0..32
Hash of the authors most recent commit
Used to see who deployed the code
Units: hash
Bits: 32..64
Hash of the authors most recent commit
Used to see who deployed the code
Units: hash
Bits: 32..64
Hash of the authors most recent commit
Used to see who deployed the code
Units: hash
Bits: 32..64
Hash of the authors most recent commit
Used to see who deployed the code
Units: hash
Bits: 32..64
Hash of the authors most recent commit
Used to see who deployed the code
Units: hash
Bits: 32..64
Trait Implementations§
Source§impl Clone for ShepherdVersionHash
impl Clone for ShepherdVersionHash
Source§fn clone(&self) -> ShepherdVersionHash
fn clone(&self) -> ShepherdVersionHash
Returns a duplicate 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 moreSource§impl Debug for ShepherdVersionHash
impl Debug for ShepherdVersionHash
Source§impl Default for ShepherdVersionHash
impl Default for ShepherdVersionHash
Source§impl From<ShepherdVersionHash> for u64
impl From<ShepherdVersionHash> for u64
Source§fn from(v: ShepherdVersionHash) -> Self
fn from(v: ShepherdVersionHash) -> Self
Converts to this type from the input type.
Source§impl From<u64> for ShepherdVersionHash
impl From<u64> for ShepherdVersionHash
Source§impl ToCanFrame for ShepherdVersionHash
impl ToCanFrame for ShepherdVersionHash
impl Copy for ShepherdVersionHash
Auto Trait Implementations§
impl Freeze for ShepherdVersionHash
impl RefUnwindSafe for ShepherdVersionHash
impl Send for ShepherdVersionHash
impl Sync for ShepherdVersionHash
impl Unpin for ShepherdVersionHash
impl UnwindSafe for ShepherdVersionHash
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