pub struct WithResponses {
pub mappings: Vec<ResponseMapping>,
pub span: Span,
}Expand description
with_responses { module.function(args) -> value, ... }
Fields§
§mappings: Vec<ResponseMapping>§span: SpanTrait Implementations§
Source§impl Clone for WithResponses
impl Clone for WithResponses
Source§fn clone(&self) -> WithResponses
fn clone(&self) -> WithResponses
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 moreSource§impl Debug for WithResponses
impl Debug for WithResponses
Source§impl<'de> Deserialize<'de> for WithResponses
impl<'de> Deserialize<'de> for WithResponses
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WithResponses
impl PartialEq for WithResponses
Source§impl Serialize for WithResponses
impl Serialize for WithResponses
impl StructuralPartialEq for WithResponses
Auto Trait Implementations§
impl Freeze for WithResponses
impl RefUnwindSafe for WithResponses
impl Send for WithResponses
impl Sync for WithResponses
impl Unpin for WithResponses
impl UnwindSafe for WithResponses
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