pub struct ProvidedScopePolicy {
pub address: Option<Box<Requirable>>,
pub email: Option<Box<Requirable>>,
pub phone: Option<Box<Requirable>>,
pub profile: Option<Box<Requirable>>,
}
Expand description
ProvidedScopePolicy : The handling policy for scopes provided by FusionAuth
Fields§
§address: Option<Box<Requirable>>
§email: Option<Box<Requirable>>
§phone: Option<Box<Requirable>>
§profile: Option<Box<Requirable>>
Implementations§
Source§impl ProvidedScopePolicy
impl ProvidedScopePolicy
Sourcepub fn new() -> ProvidedScopePolicy
pub fn new() -> ProvidedScopePolicy
The handling policy for scopes provided by FusionAuth
Trait Implementations§
Source§impl Clone for ProvidedScopePolicy
impl Clone for ProvidedScopePolicy
Source§fn clone(&self) -> ProvidedScopePolicy
fn clone(&self) -> ProvidedScopePolicy
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 ProvidedScopePolicy
impl Debug for ProvidedScopePolicy
Source§impl Default for ProvidedScopePolicy
impl Default for ProvidedScopePolicy
Source§fn default() -> ProvidedScopePolicy
fn default() -> ProvidedScopePolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProvidedScopePolicy
impl<'de> Deserialize<'de> for ProvidedScopePolicy
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 ProvidedScopePolicy
impl PartialEq for ProvidedScopePolicy
Source§impl Serialize for ProvidedScopePolicy
impl Serialize for ProvidedScopePolicy
impl StructuralPartialEq for ProvidedScopePolicy
Auto Trait Implementations§
impl Freeze for ProvidedScopePolicy
impl RefUnwindSafe for ProvidedScopePolicy
impl Send for ProvidedScopePolicy
impl Sync for ProvidedScopePolicy
impl Unpin for ProvidedScopePolicy
impl UnwindSafe for ProvidedScopePolicy
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