pub struct ActionTarget {
pub name: ActionName,
pub path: Option<String>,
pub key: Option<String>,
}Expand description
The operation, collection path and row key that an action button targets.
Fields§
§name: ActionNameRequested operation.
path: Option<String>Collection path; None when the button declares none.
key: Option<String>Row key; None when the button declares none.
Implementations§
Trait Implementations§
Source§impl Clone for ActionTarget
impl Clone for ActionTarget
Source§fn clone(&self) -> ActionTarget
fn clone(&self) -> ActionTarget
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 ActionTarget
impl Debug for ActionTarget
impl Eq for ActionTarget
Source§impl PartialEq for ActionTarget
impl PartialEq for ActionTarget
impl StructuralPartialEq for ActionTarget
Auto Trait Implementations§
impl Freeze for ActionTarget
impl RefUnwindSafe for ActionTarget
impl Send for ActionTarget
impl Sync for ActionTarget
impl Unpin for ActionTarget
impl UnsafeUnpin for ActionTarget
impl UnwindSafe for ActionTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.