pub struct ScopeMappingRequest {
pub managed: Option<Option<String>>,
pub name: String,
pub expression: String,
pub scope_name: String,
pub description: Option<String>,
}
Expand description
ScopeMappingRequest : ScopeMapping Serializer
Fields§
§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
§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 ScopeMappingRequest
impl Clone for ScopeMappingRequest
Source§fn clone(&self) -> ScopeMappingRequest
fn clone(&self) -> ScopeMappingRequest
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 ScopeMappingRequest
impl Debug for ScopeMappingRequest
Source§impl Default for ScopeMappingRequest
impl Default for ScopeMappingRequest
Source§fn default() -> ScopeMappingRequest
fn default() -> ScopeMappingRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScopeMappingRequest
impl<'de> Deserialize<'de> for ScopeMappingRequest
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 ScopeMappingRequest
impl PartialEq for ScopeMappingRequest
Source§impl Serialize for ScopeMappingRequest
impl Serialize for ScopeMappingRequest
impl StructuralPartialEq for ScopeMappingRequest
Auto Trait Implementations§
impl Freeze for ScopeMappingRequest
impl RefUnwindSafe for ScopeMappingRequest
impl Send for ScopeMappingRequest
impl Sync for ScopeMappingRequest
impl Unpin for ScopeMappingRequest
impl UnwindSafe for ScopeMappingRequest
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