pub struct AskScope {
pub id: String,
pub label: Option<String>,
}Expand description
A scope of a tool’s approval (how long the yes lasts).
Fields§
§id: StringSent as the approval actions’ value.
label: Option<String>The radio’s label (default the id).
Implementations§
Trait Implementations§
impl Eq for AskScope
impl StructuralPartialEq for AskScope
Auto Trait Implementations§
impl Freeze for AskScope
impl RefUnwindSafe for AskScope
impl Send for AskScope
impl Sync for AskScope
impl Unpin for AskScope
impl UnsafeUnpin for AskScope
impl UnwindSafe for AskScope
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.