pub struct ActionDef {
pub id: String,
pub name: String,
pub description: String,
pub source_zones: Option<Vec<String>>,
pub target_zone: Option<String>,
pub speed: Option<String>,
pub requires_empty_stack: bool,
}Fields§
§id: String§name: String§description: String§source_zones: Option<Vec<String>>§target_zone: Option<String>§speed: Option<String>§requires_empty_stack: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for ActionDef
impl<'de> Deserialize<'de> for ActionDef
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 ActionDef
impl RefUnwindSafe for ActionDef
impl Send for ActionDef
impl Sync for ActionDef
impl Unpin for ActionDef
impl UnwindSafe for ActionDef
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