pub struct SignedSnapshot {
pub protocol_version: u8,
pub snapshot: RealitySnapshot,
pub public_key: [u8; 32],
pub signature: Vec<u8>,
}Fields§
§protocol_version: u8§snapshot: RealitySnapshot§public_key: [u8; 32]§signature: Vec<u8>Trait Implementations§
Source§impl Clone for SignedSnapshot
impl Clone for SignedSnapshot
Source§fn clone(&self) -> SignedSnapshot
fn clone(&self) -> SignedSnapshot
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 SignedSnapshot
impl Debug for SignedSnapshot
Source§impl<'de> Deserialize<'de> for SignedSnapshot
impl<'de> Deserialize<'de> for SignedSnapshot
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
impl Eq for SignedSnapshot
Source§impl PartialEq for SignedSnapshot
impl PartialEq for SignedSnapshot
Source§impl Serialize for SignedSnapshot
impl Serialize for SignedSnapshot
impl StructuralPartialEq for SignedSnapshot
Auto Trait Implementations§
impl Freeze for SignedSnapshot
impl RefUnwindSafe for SignedSnapshot
impl Send for SignedSnapshot
impl Sync for SignedSnapshot
impl Unpin for SignedSnapshot
impl UnsafeUnpin for SignedSnapshot
impl UnwindSafe for SignedSnapshot
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