pub struct GoogleCalendarOAuth2ClientCredential {
pub provider: ProviderTrue,
pub id: String,
pub org_id: String,
pub created_at: String,
pub updated_at: String,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
§id: String
This is the unique identifier for the credential.
org_id: String
This is the unique identifier for the org that this credential belongs to.
created_at: String
This is the ISO 8601 date-time string of when the credential was created.
updated_at: String
This is the ISO 8601 date-time string of when the assistant was last updated.
name: Option<String>
This is the name of credential. This is just for your reference.
Implementations§
Source§impl GoogleCalendarOAuth2ClientCredential
impl GoogleCalendarOAuth2ClientCredential
pub fn new( provider: ProviderTrue, id: String, org_id: String, created_at: String, updated_at: String, ) -> GoogleCalendarOAuth2ClientCredential
Trait Implementations§
Source§impl Clone for GoogleCalendarOAuth2ClientCredential
impl Clone for GoogleCalendarOAuth2ClientCredential
Source§fn clone(&self) -> GoogleCalendarOAuth2ClientCredential
fn clone(&self) -> GoogleCalendarOAuth2ClientCredential
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 Default for GoogleCalendarOAuth2ClientCredential
impl Default for GoogleCalendarOAuth2ClientCredential
Source§fn default() -> GoogleCalendarOAuth2ClientCredential
fn default() -> GoogleCalendarOAuth2ClientCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCalendarOAuth2ClientCredential
impl<'de> Deserialize<'de> for GoogleCalendarOAuth2ClientCredential
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 GoogleCalendarOAuth2ClientCredential
impl PartialEq for GoogleCalendarOAuth2ClientCredential
Source§fn eq(&self, other: &GoogleCalendarOAuth2ClientCredential) -> bool
fn eq(&self, other: &GoogleCalendarOAuth2ClientCredential) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GoogleCalendarOAuth2ClientCredential
Auto Trait Implementations§
impl Freeze for GoogleCalendarOAuth2ClientCredential
impl RefUnwindSafe for GoogleCalendarOAuth2ClientCredential
impl Send for GoogleCalendarOAuth2ClientCredential
impl Sync for GoogleCalendarOAuth2ClientCredential
impl Unpin for GoogleCalendarOAuth2ClientCredential
impl UnwindSafe for GoogleCalendarOAuth2ClientCredential
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