pub struct ProviderRequest {
pub name: String,
pub authentication_flow: Option<Option<Uuid>>,
pub authorization_flow: Uuid,
pub property_mappings: Option<Vec<Uuid>>,
}
Expand description
ProviderRequest : Provider Serializer
Fields§
§name: String
§authentication_flow: Option<Option<Uuid>>
Flow used for authentication when the associated application is accessed by an un-authenticated user.
Flow used when authorizing this provider.
property_mappings: Option<Vec<Uuid>>
Implementations§
Source§impl ProviderRequest
impl ProviderRequest
Sourcepub fn new(name: String, authorization_flow: Uuid) -> ProviderRequest
pub fn new(name: String, authorization_flow: Uuid) -> ProviderRequest
Provider Serializer
Trait Implementations§
Source§impl Clone for ProviderRequest
impl Clone for ProviderRequest
Source§fn clone(&self) -> ProviderRequest
fn clone(&self) -> ProviderRequest
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 ProviderRequest
impl Debug for ProviderRequest
Source§impl Default for ProviderRequest
impl Default for ProviderRequest
Source§fn default() -> ProviderRequest
fn default() -> ProviderRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderRequest
impl<'de> Deserialize<'de> for ProviderRequest
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 ProviderRequest
impl PartialEq for ProviderRequest
Source§impl Serialize for ProviderRequest
impl Serialize for ProviderRequest
impl StructuralPartialEq for ProviderRequest
Auto Trait Implementations§
impl Freeze for ProviderRequest
impl RefUnwindSafe for ProviderRequest
impl Send for ProviderRequest
impl Sync for ProviderRequest
impl Unpin for ProviderRequest
impl UnwindSafe for ProviderRequest
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