pub struct OAuthSourcePropertyMappingRequest {
pub managed: Option<Option<String>>,
pub name: String,
pub expression: String,
}Expand description
OAuthSourcePropertyMappingRequest : OAuthSourcePropertyMapping 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: StringImplementations§
Source§impl OAuthSourcePropertyMappingRequest
impl OAuthSourcePropertyMappingRequest
Sourcepub fn new(
name: String,
expression: String,
) -> OAuthSourcePropertyMappingRequest
pub fn new( name: String, expression: String, ) -> OAuthSourcePropertyMappingRequest
OAuthSourcePropertyMapping Serializer
Trait Implementations§
Source§impl Clone for OAuthSourcePropertyMappingRequest
impl Clone for OAuthSourcePropertyMappingRequest
Source§fn clone(&self) -> OAuthSourcePropertyMappingRequest
fn clone(&self) -> OAuthSourcePropertyMappingRequest
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 Default for OAuthSourcePropertyMappingRequest
impl Default for OAuthSourcePropertyMappingRequest
Source§fn default() -> OAuthSourcePropertyMappingRequest
fn default() -> OAuthSourcePropertyMappingRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuthSourcePropertyMappingRequest
impl<'de> Deserialize<'de> for OAuthSourcePropertyMappingRequest
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 OAuthSourcePropertyMappingRequest
impl PartialEq for OAuthSourcePropertyMappingRequest
Source§fn eq(&self, other: &OAuthSourcePropertyMappingRequest) -> bool
fn eq(&self, other: &OAuthSourcePropertyMappingRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OAuthSourcePropertyMappingRequest
Auto Trait Implementations§
impl Freeze for OAuthSourcePropertyMappingRequest
impl RefUnwindSafe for OAuthSourcePropertyMappingRequest
impl Send for OAuthSourcePropertyMappingRequest
impl Sync for OAuthSourcePropertyMappingRequest
impl Unpin for OAuthSourcePropertyMappingRequest
impl UnsafeUnpin for OAuthSourcePropertyMappingRequest
impl UnwindSafe for OAuthSourcePropertyMappingRequest
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