pub struct SignedData<M: Serialize> {
pub data: MsgDataToSign<M>,
pub payload: Option<AuthPayload>,
pub signature: Binary,
}Fields§
§data: MsgDataToSign<M>§payload: Option<AuthPayload>§signature: BinaryTrait Implementations§
Source§impl<M: Clone + Serialize> Clone for SignedData<M>
impl<M: Clone + Serialize> Clone for SignedData<M>
Source§fn clone(&self) -> SignedData<M>
fn clone(&self) -> SignedData<M>
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 moreimpl<M: Serialize> StructuralPartialEq for SignedData<M>
Auto Trait Implementations§
impl<M> Freeze for SignedData<M>
impl<M> RefUnwindSafe for SignedData<M>where
M: RefUnwindSafe,
impl<M> Send for SignedData<M>where
M: Send,
impl<M> Sync for SignedData<M>where
M: Sync,
impl<M> Unpin for SignedData<M>where
M: Unpin,
impl<M> UnwindSafe for SignedData<M>where
M: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)