Struct grin_wallet_libwallet::slatepack::SlatepackerArgs
source · pub struct SlatepackerArgs<'a> {
pub sender: Option<SlatepackAddress>,
pub recipients: Vec<SlatepackAddress>,
pub dec_key: Option<&'a SecretKey>,
}
Expand description
Arguments, mostly for encrypting decrypting a slatepack
Fields§
§sender: Option<SlatepackAddress>
Optional sender to include in slatepack
recipients: Vec<SlatepackAddress>
Optional list of recipients, for encryption
dec_key: Option<&'a SecretKey>
Optional decryption key
Trait Implementations§
source§impl<'a> Clone for SlatepackerArgs<'a>
impl<'a> Clone for SlatepackerArgs<'a>
source§fn clone(&self) -> SlatepackerArgs<'a>
fn clone(&self) -> SlatepackerArgs<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for SlatepackerArgs<'a>
impl<'a> RefUnwindSafe for SlatepackerArgs<'a>
impl<'a> Send for SlatepackerArgs<'a>
impl<'a> Sync for SlatepackerArgs<'a>
impl<'a> Unpin for SlatepackerArgs<'a>
impl<'a> UnwindSafe for SlatepackerArgs<'a>
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<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.