pub struct TargetGroup {
pub name: String,
pub sort_key: i64,
pub id: i64,
pub name_translated: String,
pub extra: Map<String, Value>,
}Expand description
An intended audience for a group, such as families or students. A group can reference one audience through information.targetGroupId. This is descriptive master data, not a collection of person records or a group membership.
Fields§
§name: StringStored label configured in this installation. Use nameTranslated from the response for a localized display name.
sort_key: i64Display order. Lower values come first; list endpoints sort equal values by the stored name.
id: i64ID of this master-data record in this ChurchTools installation. Use it when assigning this classification to a group.
name_translated: StringLocalized display name, translated from the stored name when a translation exists.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for TargetGroup
impl Clone for TargetGroup
Source§impl Debug for TargetGroup
impl Debug for TargetGroup
Source§impl Default for TargetGroup
impl Default for TargetGroup
Source§impl<'de> Deserialize<'de> for TargetGroup
impl<'de> Deserialize<'de> for TargetGroup
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 TargetGroup
impl PartialEq for TargetGroup
Source§impl Serialize for TargetGroup
impl Serialize for TargetGroup
impl StructuralPartialEq for TargetGroup
Auto Trait Implementations§
impl Freeze for TargetGroup
impl RefUnwindSafe for TargetGroup
impl Send for TargetGroup
impl Sync for TargetGroup
impl Unpin for TargetGroup
impl UnsafeUnpin for TargetGroup
impl UnwindSafe for TargetGroup
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