Struct scratchstack_aspen::ContextBuilder
source · 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 more