pub struct ActionInput {
pub action: Option<String>,
pub path: Option<String>,
pub key: Option<String>,
}Expand description
The values a button declares: its action, collection path and row key (CURT-081). An absent or empty member is absent from the target.
Fields§
§action: Option<String>Requested operation name.
path: Option<String>Collection path of the nearest [data-field-path].
key: Option<String>Row key of the nearest [data-crudui-row-key] inside that path element.
Trait Implementations§
Source§impl Clone for ActionInput
impl Clone for ActionInput
Source§fn clone(&self) -> ActionInput
fn clone(&self) -> ActionInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionInput
impl Debug for ActionInput
Source§impl Default for ActionInput
impl Default for ActionInput
Source§fn default() -> ActionInput
fn default() -> ActionInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionInput
impl<'de> Deserialize<'de> for ActionInput
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 ActionInput
impl RefUnwindSafe for ActionInput
impl Send for ActionInput
impl Sync for ActionInput
impl Unpin for ActionInput
impl UnsafeUnpin for ActionInput
impl UnwindSafe for ActionInput
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