#[non_exhaustive]pub enum NotionCredentials {
NotionAPIKey(Box<NotionAPIKey>),
UnparsedObject(UnparsedObject),
}
Expand description
The definition of the NotionCredentials
object.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotionAPIKey(Box<NotionAPIKey>)
UnparsedObject(UnparsedObject)
Trait Implementations§
Source§impl Clone for NotionCredentials
impl Clone for NotionCredentials
Source§fn clone(&self) -> NotionCredentials
fn clone(&self) -> NotionCredentials
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NotionCredentials
impl Debug for NotionCredentials
Source§impl<'de> Deserialize<'de> for NotionCredentials
impl<'de> Deserialize<'de> for NotionCredentials
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 NotionCredentials
impl PartialEq for NotionCredentials
Source§impl Serialize for NotionCredentials
impl Serialize for NotionCredentials
impl StructuralPartialEq for NotionCredentials
Auto Trait Implementations§
impl Freeze for NotionCredentials
impl RefUnwindSafe for NotionCredentials
impl Send for NotionCredentials
impl Sync for NotionCredentials
impl Unpin for NotionCredentials
impl UnwindSafe for NotionCredentials
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