pub struct FlowExtensions(pub BTreeMap<String, Value>);Expand description
Shared extensions merged into each Flow request before middleware runs.
Tuple Fields§
§0: BTreeMap<String, Value>Implementations§
Source§impl FlowExtensions
impl FlowExtensions
pub fn insert(&mut self, key: impl Into<String>, value: Value)
pub fn merge_into(&self, req: &mut FlowRequest)
Trait Implementations§
Source§impl Clone for FlowExtensions
impl Clone for FlowExtensions
Source§fn clone(&self) -> FlowExtensions
fn clone(&self) -> FlowExtensions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlowExtensions
impl Debug for FlowExtensions
Source§impl Default for FlowExtensions
impl Default for FlowExtensions
Source§fn default() -> FlowExtensions
fn default() -> FlowExtensions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FlowExtensions
impl RefUnwindSafe for FlowExtensions
impl Send for FlowExtensions
impl Sync for FlowExtensions
impl Unpin for FlowExtensions
impl UnsafeUnpin for FlowExtensions
impl UnwindSafe for FlowExtensions
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