pub struct Action {
pub sf: Option<String>,
pub id: String,
pub act: String,
pub value: Option<String>,
pub mods: Vec<String>,
pub values: Option<Map<String, Value>>,
pub raw: Map<String, Value>,
}Expand description
action: a pointer action with a custom name.
Fields§
§sf: Option<String>The surface.
id: StringThe node.
act: StringThe action’s name (before any =).
value: Option<String>The part after = in the action’s name.
mods: Vec<String>Modifiers held, in the order shift, ctrl, alt, meta.
values: Option<Map<String, Value>>Form values, inside an el form.
raw: Map<String, Value>The event as received.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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