pub struct AddMatchArmOp {
pub pattern: String,
pub body: String,
pub function_name: Option<String>,
pub auto_detect: bool,
pub enum_name: Option<String>,
}Fields§
§pattern: String§body: String§function_name: Option<String>§auto_detect: bool§enum_name: Option<String>Trait Implementations§
Source§impl Clone for AddMatchArmOp
impl Clone for AddMatchArmOp
Source§fn clone(&self) -> AddMatchArmOp
fn clone(&self) -> AddMatchArmOp
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 AddMatchArmOp
impl Debug for AddMatchArmOp
Source§impl<'de> Deserialize<'de> for AddMatchArmOp
impl<'de> Deserialize<'de> for AddMatchArmOp
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
Auto Trait Implementations§
impl Freeze for AddMatchArmOp
impl RefUnwindSafe for AddMatchArmOp
impl Send for AddMatchArmOp
impl Sync for AddMatchArmOp
impl Unpin for AddMatchArmOp
impl UnwindSafe for AddMatchArmOp
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