pub struct Group {Show 21 fields
pub deprecated: Option<BTreeMap<String, String>>,
pub average_member_age: Option<f64>,
pub follow_up: Option<GroupFollowUp>,
pub guid: String,
pub has_permissions: Option<bool>,
pub id: i64,
pub information: GroupInformation,
pub member_statistics: Option<GroupMemberStatistics>,
pub meta: MetaDataEntityId,
pub modified_date: Option<String>,
pub modified_person: Option<GroupModifiedPerson>,
pub name: String,
pub permissions: GroupPermissions,
pub places: Option<Vec<Address>>,
pub public_posts_statistic: Option<GroupPublicPostsStatistic>,
pub roles: Option<Vec<GroupRole>>,
pub security_level_for_group: i64,
pub settings: GroupSettings,
pub signup_conditions: Option<GroupSignupConditions>,
pub tags: Option<Vec<Tag>>,
pub extra: Map<String, Value>,
}Expand description
The group model structures all information in different objects: information, settings, followUp, and roles. Custom group fields are added to the root level of this model.
Fields§
§deprecated: Option<BTreeMap<String, String>>§average_member_age: Option<f64>§follow_up: Option<GroupFollowUp>§guid: String§has_permissions: Option<bool>§id: i64§information: GroupInformation§member_statistics: Option<GroupMemberStatistics>§meta: MetaDataEntityId§modified_date: Option<String>👎Deprecated:
§deprecated in the ChurchTools API
modified_person: Option<GroupModifiedPerson>👎Deprecated:
§deprecated in the ChurchTools API
name: String§permissions: GroupPermissions§places: Option<Vec<Address>>§public_posts_statistic: Option<GroupPublicPostsStatistic>§roles: Option<Vec<GroupRole>>§security_level_for_group: i64You can see group fields up to this security level.
settings: GroupSettings§signup_conditions: Option<GroupSignupConditions>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
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 Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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