pub struct CardWords {
pub access: String,
pub allow: Option<String>,
pub deny: Option<String>,
}Expand description
A tool’s plain words for its must-confirm card (see Ask::card).
Fields§
§access: StringWhat the call does, in place of the access chip (“Sets up a routine”).
allow: Option<String>Allow’s label (“Create routine”); None: Allow.
deny: Option<String>Deny’s label (“Not now”); None: Deny.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CardWords
impl<'de> Deserialize<'de> for CardWords
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 Eq for CardWords
impl StructuralPartialEq for CardWords
Auto Trait Implementations§
impl Forget for CardWords
impl Freeze for CardWords
impl Move for CardWords
impl RefUnwindSafe for CardWords
impl Send for CardWordswhere
RawVecInner: Send,
impl Sync for CardWordswhere
RawVecInner: Sync,
impl Unpin for CardWords
impl UnsafeUnpin for CardWords
impl UnwindSafe for CardWordswhere
RawVecInner: UnwindSafe,
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