pub struct AuthStateQuery {
pub provider: Option<String>,
pub account: Option<String>,
pub clear: bool,
}Expand description
Which accounts to report on, and whether to clear their state first.
Fields§
§provider: Option<String>Canonical provider id (anthropic); None = every provider that has
stored accounts.
account: Option<String>One account label (default for the bare slot).
clear: boolDrop the matched accounts’ in-memory state before reporting.
Trait Implementations§
Source§impl Clone for AuthStateQuery
impl Clone for AuthStateQuery
Source§impl Debug for AuthStateQuery
impl Debug for AuthStateQuery
Source§impl Default for AuthStateQuery
impl Default for AuthStateQuery
Source§impl<'de> Deserialize<'de> for AuthStateQuery
impl<'de> Deserialize<'de> for AuthStateQuery
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 AuthStateQuery
Source§impl PartialEq for AuthStateQuery
impl PartialEq for AuthStateQuery
Source§impl Serialize for AuthStateQuery
impl Serialize for AuthStateQuery
impl StructuralPartialEq for AuthStateQuery
Auto Trait Implementations§
impl Freeze for AuthStateQuery
impl RefUnwindSafe for AuthStateQuery
impl Send for AuthStateQuery
impl Sync for AuthStateQuery
impl Unpin for AuthStateQuery
impl UnsafeUnpin for AuthStateQuery
impl UnwindSafe for AuthStateQuery
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.