pub struct NewClient {
pub client_id: Option<String>,
pub client_key: Option<String>,
pub callback_url: Option<String>,
pub display_name: Option<String>,
pub description: Option<String>,
}Fields§
§client_id: Option<String>A unique identifier for the client. Must be unique for the tenant.
client_key: Option<String>A secret key for authenticating the client.
callback_url: Option<String>URL for application to receive OAuth callbacks for executing flows such as authorization_code.
display_name: Option<String>A name for this client that will be displayed to a user.
description: Option<String>A description of this client. Optional.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewClient
impl<'de> Deserialize<'de> for NewClient
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 StructuralPartialEq for NewClient
Auto Trait Implementations§
impl Freeze for NewClient
impl RefUnwindSafe for NewClient
impl Send for NewClient
impl Sync for NewClient
impl Unpin for NewClient
impl UnsafeUnpin for NewClient
impl UnwindSafe for NewClient
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