pub struct ButtonAction {
pub name: Option<String>,
pub value: Option<String>,
pub label: String,
}Expand description
A terminal-compatible form button.
Fields§
§name: Option<String>Optional button name submitted with the form.
value: Option<String>Optional button value submitted with the form.
label: StringHuman-readable label.
Trait Implementations§
Source§impl Clone for ButtonAction
impl Clone for ButtonAction
Source§fn clone(&self) -> ButtonAction
fn clone(&self) -> ButtonAction
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 ButtonAction
impl Debug for ButtonAction
Source§impl PartialEq for ButtonAction
impl PartialEq for ButtonAction
Source§fn eq(&self, other: &ButtonAction) -> bool
fn eq(&self, other: &ButtonAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ButtonAction
impl StructuralPartialEq for ButtonAction
Auto Trait Implementations§
impl Freeze for ButtonAction
impl RefUnwindSafe for ButtonAction
impl Send for ButtonAction
impl Sync for ButtonAction
impl Unpin for ButtonAction
impl UnsafeUnpin for ButtonAction
impl UnwindSafe for ButtonAction
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