pub struct PluginCredential {
pub kind: CredentialType,
pub login: Option<String>,
pub password: Option<String>,
pub settings: Value,
pub user_ref: Option<String>,
pub refresh_token: Option<String>,
pub expires: Option<i64>,
}Fields§
§kind: CredentialType§login: Option<String>§password: Option<String>§settings: Value§user_ref: Option<String>§refresh_token: Option<String>§expires: Option<i64>Trait Implementations§
Source§impl Clone for PluginCredential
impl Clone for PluginCredential
Source§impl Debug for PluginCredential
impl Debug for PluginCredential
Source§impl Default for PluginCredential
impl Default for PluginCredential
Source§impl<'de> Deserialize<'de> for PluginCredential
impl<'de> Deserialize<'de> for PluginCredential
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
Source§impl From<Credential> for PluginCredential
impl From<Credential> for PluginCredential
Source§fn from(credential: Credential) -> Self
fn from(credential: Credential) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PluginCredential
impl PartialEq for PluginCredential
Source§impl Serialize for PluginCredential
impl Serialize for PluginCredential
impl StructuralPartialEq for PluginCredential
Auto Trait Implementations§
impl Forget for PluginCredential
impl Freeze for PluginCredentialwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for PluginCredential
impl RefUnwindSafe for PluginCredential
impl Send for PluginCredential
impl Sync for PluginCredential
impl Unpin for PluginCredential
impl UnsafeUnpin for PluginCredentialwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for PluginCredential
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