Struct sos_sdk::commit::CommitHash  
source · pub struct CommitHash(pub [u8; 32]);Expand description
Hash representation that provides a hexadecimal display.
Tuple Fields§
§0: [u8; 32]Implementations§
Trait Implementations§
source§impl Clone for CommitHash
 
impl Clone for CommitHash
source§fn clone(&self) -> CommitHash
 
fn clone(&self) -> CommitHash
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 moresource§impl Debug for CommitHash
 
impl Debug for CommitHash
source§impl Default for CommitHash
 
impl Default for CommitHash
source§fn default() -> CommitHash
 
fn default() -> CommitHash
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommitHash
 
impl<'de> Deserialize<'de> for CommitHash
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for CommitHash
 
impl Display for CommitHash
source§impl From<CommitHash> for [u8; 32]
 
impl From<CommitHash> for [u8; 32]
source§fn from(value: CommitHash) -> Self
 
fn from(value: CommitHash) -> Self
Converts to this type from the input type.
source§impl PartialEq for CommitHash
 
impl PartialEq for CommitHash
source§fn eq(&self, other: &CommitHash) -> bool
 
fn eq(&self, other: &CommitHash) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for CommitHash
 
impl Serialize for CommitHash
impl Copy for CommitHash
impl Eq for CommitHash
impl StructuralEq for CommitHash
impl StructuralPartialEq for CommitHash
Auto Trait Implementations§
impl RefUnwindSafe for CommitHash
impl Send for CommitHash
impl Sync for CommitHash
impl Unpin for CommitHash
impl UnwindSafe for CommitHash
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> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
    T: Default,
 
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
 
fn null_value() -> T
The none-equivalent value.