pub struct ServiceGroup {
pub campus_id: Option<i64>,
pub description: Option<String>,
pub id: i64,
pub meta: MetaDataEntityId,
pub name: String,
pub name_translated: String,
pub only_visible_in_campus_filter: bool,
pub sort_key: i64,
pub view_all: bool,
pub extra: Map<String, Value>,
}Expand description
A category of service roles, such as Music or Technical team, optionally associated with a campus. It is not a group of persons.
Fields§
§campus_id: Option<i64>ID of an existing campus, or null for no campus association.
description: Option<String>Description of the service group.
id: i64§meta: MetaDataEntityId§name: StringName of a category of service roles, for example Technical team. This is separate from person groups.
name_translated: StringName translated for the current language; falls back to the stored name.
only_visible_in_campus_filter: boolShow this service group only when filtering by its campus.
sort_key: i64Display order. Lists are sorted by sortKey and then name, both ascending.
view_all: boolMake this service group visible through the general service-group viewing permissions.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for ServiceGroup
impl Clone for ServiceGroup
Source§impl Debug for ServiceGroup
impl Debug for ServiceGroup
Source§impl Default for ServiceGroup
impl Default for ServiceGroup
Source§impl<'de> Deserialize<'de> for ServiceGroup
impl<'de> Deserialize<'de> for ServiceGroup
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 ServiceGroup
impl PartialEq for ServiceGroup
Source§impl Serialize for ServiceGroup
impl Serialize for ServiceGroup
impl StructuralPartialEq for ServiceGroup
Auto Trait Implementations§
impl Freeze for ServiceGroup
impl RefUnwindSafe for ServiceGroup
impl Send for ServiceGroup
impl Sync for ServiceGroup
impl Unpin for ServiceGroup
impl UnsafeUnpin for ServiceGroup
impl UnwindSafe for ServiceGroup
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