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