pub struct SendRequest<State> { /* private fields */ }Implementations§
Source§impl SendRequest<PendingConfirmation>
impl SendRequest<PendingConfirmation>
pub fn confirm(self) -> SendRequest<Confirmed>
pub fn draft(&self) -> &OutboundDraft<ReadyToSend>
Source§impl SendRequest<Confirmed>
impl SendRequest<Confirmed>
pub fn draft(&self) -> &OutboundDraft<ReadyToSend>
pub fn into_draft(self) -> OutboundDraft<ReadyToSend>
Trait Implementations§
Source§impl<State: Clone> Clone for SendRequest<State>
impl<State: Clone> Clone for SendRequest<State>
Source§fn clone(&self) -> SendRequest<State>
fn clone(&self) -> SendRequest<State>
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<State: Debug> Debug for SendRequest<State>
impl<State: Debug> Debug for SendRequest<State>
Source§impl<State: PartialEq> PartialEq for SendRequest<State>
impl<State: PartialEq> PartialEq for SendRequest<State>
Source§fn eq(&self, other: &SendRequest<State>) -> bool
fn eq(&self, other: &SendRequest<State>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<State: Eq> Eq for SendRequest<State>
impl<State> StructuralPartialEq for SendRequest<State>
Auto Trait Implementations§
impl<State> Freeze for SendRequest<State>
impl<State> RefUnwindSafe for SendRequest<State>where
State: RefUnwindSafe,
impl<State> Send for SendRequest<State>where
State: Send,
impl<State> Sync for SendRequest<State>where
State: Sync,
impl<State> Unpin for SendRequest<State>where
State: Unpin,
impl<State> UnsafeUnpin for SendRequest<State>
impl<State> UnwindSafe for SendRequest<State>where
State: 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