pub struct CredentialSessionDto {
pub provider: ProviderTrue,
}
Fields§
§provider: ProviderTrue
The type of credential to generate a session for. Only Nango user-facing providers are supported.
Implementations§
Source§impl CredentialSessionDto
impl CredentialSessionDto
pub fn new(provider: ProviderTrue) -> CredentialSessionDto
Trait Implementations§
Source§impl Clone for CredentialSessionDto
impl Clone for CredentialSessionDto
Source§fn clone(&self) -> CredentialSessionDto
fn clone(&self) -> CredentialSessionDto
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CredentialSessionDto
impl Debug for CredentialSessionDto
Source§impl Default for CredentialSessionDto
impl Default for CredentialSessionDto
Source§fn default() -> CredentialSessionDto
fn default() -> CredentialSessionDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CredentialSessionDto
impl<'de> Deserialize<'de> for CredentialSessionDto
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 PartialEq for CredentialSessionDto
impl PartialEq for CredentialSessionDto
Source§impl Serialize for CredentialSessionDto
impl Serialize for CredentialSessionDto
impl StructuralPartialEq for CredentialSessionDto
Auto Trait Implementations§
impl Freeze for CredentialSessionDto
impl RefUnwindSafe for CredentialSessionDto
impl Send for CredentialSessionDto
impl Sync for CredentialSessionDto
impl Unpin for CredentialSessionDto
impl UnwindSafe for CredentialSessionDto
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