pub struct Endorsement {
pub endorser: String,
pub approved: bool,
pub timestamp: u64,
}Expand description
Endorser signature and approval status
Fields§
§endorser: String§approved: bool§timestamp: u64Trait Implementations§
Source§impl Clone for Endorsement
impl Clone for Endorsement
Source§fn clone(&self) -> Endorsement
fn clone(&self) -> Endorsement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Endorsement
impl Debug for Endorsement
Source§impl<'de> Deserialize<'de> for Endorsement
impl<'de> Deserialize<'de> for Endorsement
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
Auto Trait Implementations§
impl Freeze for Endorsement
impl RefUnwindSafe for Endorsement
impl Send for Endorsement
impl Sync for Endorsement
impl Unpin for Endorsement
impl UnsafeUnpin for Endorsement
impl UnwindSafe for Endorsement
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