Struct depo_api::request::get_shares::GetSharesRequest
source · pub struct GetSharesRequest { /* private fields */ }Implementations§
pub fn new<'a>( key: impl AsRef<PublicKeyBase>, receipts: impl IntoIterator<Item = &'a Receipt> ) -> Self
pub fn new_opt(id: ARID, key: PublicKeyBase, receipts: HashSet<Receipt>) -> Self
pub fn id(&self) -> &ARID
pub fn key(&self) -> &PublicKeyBase
pub fn receipts(&self) -> &HashSet<Receipt>
Trait Implementations§
source§fn clone(&self) -> GetSharesRequest
fn clone(&self) -> GetSharesRequest
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 morefn from_envelope(envelope: Envelope) -> Result<Self>
source§fn from(value: GetSharesRequest) -> Self
fn from(value: GetSharesRequest) -> Self
Converts to this type from the input type.
source§fn eq(&self, other: &GetSharesRequest) -> bool
fn eq(&self, other: &GetSharesRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.Auto Trait Implementations§
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