pub struct GetContextOptsBuilder { /* private fields */ }
Expand description
Builder for GetContextOpts
.
Implementations§
Source§impl GetContextOptsBuilder
impl GetContextOptsBuilder
Sourcepub fn types<T: IntoIterator<Item = ContextType>>(
&mut self,
types: T,
) -> &mut Self
pub fn types<T: IntoIterator<Item = ContextType>>( &mut self, types: T, ) -> &mut Self
List of ContextType
s to gather, or empty for all.
pub fn build(&mut self) -> GetContextOpts
Trait Implementations§
Source§impl Clone for GetContextOptsBuilder
impl Clone for GetContextOptsBuilder
Source§fn clone(&self) -> GetContextOptsBuilder
fn clone(&self) -> GetContextOptsBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetContextOptsBuilder
impl RefUnwindSafe for GetContextOptsBuilder
impl !Send for GetContextOptsBuilder
impl !Sync for GetContextOptsBuilder
impl Unpin for GetContextOptsBuilder
impl UnwindSafe for GetContextOptsBuilder
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