pub struct UserGroup {
pub id: Option<i32>,
pub group_name: Option<String>,
pub group_type: Option<i32>,
pub ldap_group_dn: Option<String>,
}Fields§
§id: Option<i32>The ID of the user group
group_name: Option<String>The name of the user group
group_type: Option<i32>The group type, 1 for LDAP group, 2 for HTTP group, 3 for OIDC group.
ldap_group_dn: Option<String>The DN of the LDAP group if group type is 1 (LDAP group).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserGroup
impl<'de> Deserialize<'de> for UserGroup
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
impl StructuralPartialEq for UserGroup
Auto Trait Implementations§
impl Freeze for UserGroup
impl RefUnwindSafe for UserGroup
impl Send for UserGroup
impl Sync for UserGroup
impl Unpin for UserGroup
impl UnwindSafe for UserGroup
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