pub struct ScopeMapping {
pub pk: Uuid,
pub managed: Option<Option<String>>,
pub name: String,
pub expression: String,
pub component: String,
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub scope_name: String,
pub description: Option<String>,
}
Expand description
ScopeMapping : ScopeMapping Serializer
Fields§
§pk: Uuid
§managed: Option<Option<String>>
Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
name: String
§expression: String
§component: String
Get object’s component so that we know how to edit the object
verbose_name: String
Return object’s verbose_name
verbose_name_plural: String
Return object’s plural verbose_name
meta_model_name: String
Return internal model name
scope_name: String
Scope name requested by the client
description: Option<String>
Description shown to the user when consenting. If left empty, the user won’t be informed.
Implementations§
Trait Implementations§
Source§impl Clone for ScopeMapping
impl Clone for ScopeMapping
Source§fn clone(&self) -> ScopeMapping
fn clone(&self) -> ScopeMapping
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 ScopeMapping
impl Debug for ScopeMapping
Source§impl Default for ScopeMapping
impl Default for ScopeMapping
Source§fn default() -> ScopeMapping
fn default() -> ScopeMapping
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScopeMapping
impl<'de> Deserialize<'de> for ScopeMapping
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 ScopeMapping
impl PartialEq for ScopeMapping
Source§impl Serialize for ScopeMapping
impl Serialize for ScopeMapping
impl StructuralPartialEq for ScopeMapping
Auto Trait Implementations§
impl Freeze for ScopeMapping
impl RefUnwindSafe for ScopeMapping
impl Send for ScopeMapping
impl Sync for ScopeMapping
impl Unpin for ScopeMapping
impl UnwindSafe for ScopeMapping
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