Struct scratchstack_aspen::ContextBuilder
source · [−]pub struct ContextBuilder { /* private fields */ }Expand description
Builder for Context.
Implementations
sourceimpl 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
sourceimpl Clone for ContextBuilder
impl Clone for ContextBuilder
sourcefn clone(&self) -> ContextBuilder
fn clone(&self) -> ContextBuilder
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for ContextBuilder
impl Send for ContextBuilder
impl Sync for ContextBuilder
impl Unpin for ContextBuilder
impl UnwindSafe for ContextBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more