pub struct RowActions {
pub view: Option<String>,
pub edit: Option<String>,
pub delete_action: Option<String>,
pub links: Vec<String>,
pub disabled: Vec<DisabledAction>,
}Expand description
The action targets of one row.
Fields§
§view: Option<String>The View link target, None when policy hides it.
edit: Option<String>The Edit link target, None when policy hides it.
delete_action: Option<String>The Delete POST target, carried as its button’s formaction; None when policy hides
it.
links: Vec<String>The targets of the row’s row_links, in document order.
disabled: Vec<DisabledAction>The custom actions the row shows disabled, in document order.
Trait Implementations§
Source§impl Clone for RowActions
impl Clone for RowActions
Source§impl Debug for RowActions
impl Debug for RowActions
impl Eq for RowActions
Source§impl PartialEq for RowActions
impl PartialEq for RowActions
impl StructuralPartialEq for RowActions
Auto Trait Implementations§
impl Forget for RowActions
impl Freeze for RowActions
impl Move for RowActions
impl RefUnwindSafe for RowActions
impl Send for RowActions
impl Sync for RowActions
impl Unpin for RowActions
impl UnsafeUnpin for RowActions
impl UnwindSafe for RowActions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.