#[non_exhaustive]pub struct GetPendingMutationsOptions<'a> {
pub on_behalf_of: Option<&'a OnBehalfOfInfo>,
pub endpoint: Option<String>,
pub retry_strategy: Arc<dyn RetryStrategy>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.on_behalf_of: Option<&'a OnBehalfOfInfo>§endpoint: Option<String>§retry_strategy: Arc<dyn RetryStrategy>Implementations§
Source§impl<'a> GetPendingMutationsOptions<'a>
impl<'a> GetPendingMutationsOptions<'a>
pub fn new() -> Self
pub fn on_behalf_of( self, on_behalf_of: impl Into<Option<&'a OnBehalfOfInfo>>, ) -> Self
pub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
pub fn endpoint(self, endpoint: impl Into<Option<String>>) -> Self
Trait Implementations§
Source§impl<'a> Clone for GetPendingMutationsOptions<'a>
impl<'a> Clone for GetPendingMutationsOptions<'a>
Source§fn clone(&self) -> GetPendingMutationsOptions<'a>
fn clone(&self) -> GetPendingMutationsOptions<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for GetPendingMutationsOptions<'a>
impl<'a> Debug for GetPendingMutationsOptions<'a>
Source§impl Default for GetPendingMutationsOptions<'_>
impl Default for GetPendingMutationsOptions<'_>
Source§impl<'a> From<&GetPendingMutationsOptions<'a>> for GetPendingMutationsOptions<'a>
impl<'a> From<&GetPendingMutationsOptions<'a>> for GetPendingMutationsOptions<'a>
Source§fn from(opts: &GetPendingMutationsOptions<'a>) -> Self
fn from(opts: &GetPendingMutationsOptions<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for GetPendingMutationsOptions<'a>
impl<'a> !RefUnwindSafe for GetPendingMutationsOptions<'a>
impl<'a> Send for GetPendingMutationsOptions<'a>
impl<'a> Sync for GetPendingMutationsOptions<'a>
impl<'a> Unpin for GetPendingMutationsOptions<'a>
impl<'a> UnsafeUnpin for GetPendingMutationsOptions<'a>
impl<'a> !UnwindSafe for GetPendingMutationsOptions<'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