Struct pea_stake::Compressed
source · pub struct Compressed {
pub public_key: PublicKeyBytes,
pub amount: CompressedAmount,
pub fee: CompressedAmount,
pub deposit: bool,
pub timestamp: u32,
pub signature: SignatureBytes,
}Fields
public_key: PublicKeyBytesamount: CompressedAmountfee: CompressedAmountdeposit: booltimestamp: u32signature: SignatureBytesTrait Implementations
sourceimpl Clone for Compressed
impl Clone for Compressed
sourcefn clone(&self) -> Compressed
fn clone(&self) -> Compressed
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 moresourceimpl Debug for Compressed
impl Debug for Compressed
sourceimpl<'de> Deserialize<'de> for Compressed
impl<'de> Deserialize<'de> for Compressed
sourcefn 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
sourceimpl Serialize for Compressed
impl Serialize for Compressed
Auto Trait Implementations
impl RefUnwindSafe for Compressed
impl Send for Compressed
impl Sync for Compressed
impl Unpin for Compressed
impl UnwindSafe for Compressed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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