pub struct MatchContext {
pub binds: Vec<String>,
pub return_type: Option<String>,
pub fetch_method: String,
}Expand description
Context for pattern matching
Fields§
§binds: Vec<String>§return_type: Option<String>§fetch_method: StringTrait Implementations§
Source§impl Debug for MatchContext
impl Debug for MatchContext
Source§impl Default for MatchContext
impl Default for MatchContext
Source§fn default() -> MatchContext
fn default() -> MatchContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MatchContext
impl RefUnwindSafe for MatchContext
impl Send for MatchContext
impl Sync for MatchContext
impl Unpin for MatchContext
impl UnwindSafe for MatchContext
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