pub struct ContextBuilder { /* private fields */ }
Expand description
Builder for Context
.
Implementations§
Source§impl ContextBuilder
impl ContextBuilder
Sourcepub fn resources(&mut self, value: Vec<Arn>) -> &mut Self
pub fn resources(&mut self, value: Vec<Arn>) -> &mut Self
The resources associated with the request.
Sourcepub fn session_data(&mut self, value: SessionData) -> &mut Self
pub fn session_data(&mut self, value: SessionData) -> &mut Self
The session data associated with the request.
Trait Implementations§
Source§impl Clone for ContextBuilder
impl Clone for ContextBuilder
Source§fn clone(&self) -> ContextBuilder
fn clone(&self) -> ContextBuilder
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 Freeze for ContextBuilder
impl RefUnwindSafe for ContextBuilder
impl Send for ContextBuilder
impl Sync for ContextBuilder
impl Unpin for ContextBuilder
impl UnwindSafe for ContextBuilder
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