pub struct KanidmPersonAccountSpec {
pub kanidm_ref: KanidmRef,
pub person_attributes: KanidmPersonAttributes,
pub posix_attributes: Option<KanidmPersonPosixAttributes>,
pub credentials_token_ttl: u32,
}Expand description
A person represents a human’s account in Kanidm. The majority of your users will be a person who will use this account in their daily activities. These entries may contain personally identifying information that is considered by Kanidm to be sensitive. Because of this, there are default limits to who may access these data. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Fields§
§kanidm_ref: KanidmRef§person_attributes: KanidmPersonAttributes§posix_attributes: Option<KanidmPersonPosixAttributes>POSIX attributes for the person account. When specified, the operator will activate them. If omitted, the operator retains the attributes in the database but ceases to manage them.
credentials_token_ttl: u32If credentials are not defined, Kaniop will generate a link accessible when describing the person account. This link will be valid for the number of seconds defined here. The default is 3600 seconds (1 hour).
Trait Implementations§
Source§impl Clone for KanidmPersonAccountSpec
impl Clone for KanidmPersonAccountSpec
Source§fn clone(&self) -> KanidmPersonAccountSpec
fn clone(&self) -> KanidmPersonAccountSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KanidmPersonAccountSpec
impl Debug for KanidmPersonAccountSpec
Source§impl Default for KanidmPersonAccountSpec
impl Default for KanidmPersonAccountSpec
Source§fn default() -> KanidmPersonAccountSpec
fn default() -> KanidmPersonAccountSpec
Source§impl<'de> Deserialize<'de> for KanidmPersonAccountSpec
impl<'de> Deserialize<'de> for KanidmPersonAccountSpec
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>,
Source§impl JsonSchema for KanidmPersonAccountSpec
impl JsonSchema for KanidmPersonAccountSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for KanidmPersonAccountSpec
impl PartialEq for KanidmPersonAccountSpec
Source§impl Serialize for KanidmPersonAccountSpec
impl Serialize for KanidmPersonAccountSpec
impl StructuralPartialEq for KanidmPersonAccountSpec
Auto Trait Implementations§
impl Freeze for KanidmPersonAccountSpec
impl RefUnwindSafe for KanidmPersonAccountSpec
impl Send for KanidmPersonAccountSpec
impl Sync for KanidmPersonAccountSpec
impl Unpin for KanidmPersonAccountSpec
impl UnwindSafe for KanidmPersonAccountSpec
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more