pub struct ServiceGroupUpdate {
pub campus_id: Option<Option<i64>>,
pub description: Option<Option<String>>,
pub name: String,
pub only_visible_in_campus_filter: Option<bool>,
pub sort_key: Option<i64>,
pub view_all: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
Fields for updating a service group.
Fields§
§campus_id: Option<Option<i64>>ID of an existing campus, or null for no campus association.
None leaves the field out, Some(None) sends null.
description: Option<Option<String>>Description of the service group.
None leaves the field out, Some(None) sends null.
name: StringName of a category of service roles, for example Technical team. This is separate from person groups.
only_visible_in_campus_filter: Option<bool>Show this service group only when filtering by its campus.
sort_key: Option<i64>Display order. Lists are sorted by sortKey and then name, both ascending.
view_all: Option<bool>Make 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 ServiceGroupUpdate
impl Clone for ServiceGroupUpdate
Source§impl Debug for ServiceGroupUpdate
impl Debug for ServiceGroupUpdate
Source§impl Default for ServiceGroupUpdate
impl Default for ServiceGroupUpdate
Source§impl<'de> Deserialize<'de> for ServiceGroupUpdate
impl<'de> Deserialize<'de> for ServiceGroupUpdate
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 ServiceGroupUpdate
impl PartialEq for ServiceGroupUpdate
Source§impl Serialize for ServiceGroupUpdate
impl Serialize for ServiceGroupUpdate
impl StructuralPartialEq for ServiceGroupUpdate
Auto Trait Implementations§
impl Freeze for ServiceGroupUpdate
impl RefUnwindSafe for ServiceGroupUpdate
impl Send for ServiceGroupUpdate
impl Sync for ServiceGroupUpdate
impl Unpin for ServiceGroupUpdate
impl UnsafeUnpin for ServiceGroupUpdate
impl UnwindSafe for ServiceGroupUpdate
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