pub struct Department {
pub deprecated: DepartmentDeprecated,
pub id: i64,
pub name: String,
pub name_translated: String,
pub short: Option<String>,
pub shorty: String,
pub sort_key: i64,
pub extra: Map<String, Value>,
}Expand description
Person-related department used to organize the directory and its access rules. It is distinct from campuses, groups and service groups.
Fields§
§deprecated: DepartmentDeprecated§id: i64§name: String§name_translated: String§short: Option<String>👎Deprecated:
Use shorty instead
Use shorty instead
shorty: String§sort_key: i64§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for Department
impl Clone for Department
Source§impl Debug for Department
impl Debug for Department
Source§impl Default for Department
impl Default for Department
Source§impl<'de> Deserialize<'de> for Department
impl<'de> Deserialize<'de> for Department
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 Department
impl PartialEq for Department
Source§impl Serialize for Department
impl Serialize for Department
impl StructuralPartialEq for Department
Auto Trait Implementations§
impl Freeze for Department
impl RefUnwindSafe for Department
impl Send for Department
impl Sync for Department
impl Unpin for Department
impl UnsafeUnpin for Department
impl UnwindSafe for Department
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