pub struct AuthMethodAgent {
pub id: String,
pub name: String,
pub description: String,
}Expand description
The agent variant of AuthMethod.
Fields§
§id: StringThe auth method id. A string the agent and editor both recognise (e.g. an OAuth client id).
name: StringA human-readable display name.
description: StringA human-readable description.
Trait Implementations§
Source§impl Clone for AuthMethodAgent
impl Clone for AuthMethodAgent
Source§impl Debug for AuthMethodAgent
impl Debug for AuthMethodAgent
Source§impl<'de> Deserialize<'de> for AuthMethodAgent
impl<'de> Deserialize<'de> for AuthMethodAgent
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 AuthMethodAgent
Source§impl PartialEq for AuthMethodAgent
impl PartialEq for AuthMethodAgent
Source§impl Serialize for AuthMethodAgent
impl Serialize for AuthMethodAgent
impl StructuralPartialEq for AuthMethodAgent
Auto Trait Implementations§
impl Freeze for AuthMethodAgent
impl RefUnwindSafe for AuthMethodAgent
impl Send for AuthMethodAgent
impl Sync for AuthMethodAgent
impl Unpin for AuthMethodAgent
impl UnsafeUnpin for AuthMethodAgent
impl UnwindSafe for AuthMethodAgent
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