Skip to main content

GroupSettings

Struct GroupSettings 

Source
pub struct GroupSettings {
Show 43 fields pub allow_child_registration: bool, pub allow_other_registration: bool, pub allow_same_email_registration: bool, pub allow_spouse_registration: bool, pub allow_waitinglist: bool, pub appointment_id: Option<i64>, pub appointment_start_date: Option<DateTime<Utc>>, pub auto_accept: bool, pub automatic_move_up: bool, pub chat_history_visible: bool, pub default_post_comments_active: bool, pub default_post_notification_scope: Option<String>, pub default_post_placeholder_text: Option<String>, pub default_post_visibility: String, pub dynamic_group_rule_set: Option<Vec<DynamicGroupRule>>, pub dynamic_group_status: Option<String>, pub dynamic_group_update_finished: Option<DateTime<Utc>>, pub dynamic_group_update_started: Option<DateTime<Utc>>, pub email_verification_mode: String, pub external_post_subscriptions_enabled: bool, pub group_meeting: GroupSettingsGroupMeeting, pub in_statistic: bool, pub inform_leader: bool, pub is_hidden: bool, pub is_open_for_members: bool, pub is_public: bool, pub max_members: Option<i64>, pub new_member: GroupSettingsNewMember, pub posts_enabled: bool, pub qr_code_checkin: bool, pub qr_code_checkin_automatic_email: bool, pub send_default_sign_up_mail: bool, pub show_street: bool, pub sign_up_closing_date: Option<DateTime<Utc>>, pub sign_up_email_required_for_all: Option<bool>, pub sign_up_headline: Option<String>, pub sign_up_notification_sent_date: Option<DateTime<Utc>>, pub sign_up_opening_date: Option<DateTime<Utc>>, pub sign_up_override_role_id: Option<i64>, pub statuses_counted_towards_seats: Vec<String>, pub visibility: String, pub waitinglist_max_persons: Option<i64>, pub extra: Map<String, Value>,
}

Fields§

§allow_child_registration: bool

Own children are listed as option during group sign up.

§allow_other_registration: bool

It is allowed to sign up other people uring group sign up.

§allow_same_email_registration: bool

People with same eMail address are listed as option during group sign up.

§allow_spouse_registration: bool

Spouse is listed as option during group sign up.

§allow_waitinglist: bool

Waiting list is in-/active for this group.

§appointment_id: Option<i64>

If set (together with appointmentStartDate), the group is a signup group for the specified appointment

§appointment_start_date: Option<DateTime<Utc>>

If set (together with appointmentId), the group is a signup group for the specified appointment

§auto_accept: bool

Indicator if applications are accepted automatically.

§automatic_move_up: bool

In combination with waiting list: People automatically move up in waiting list.

§chat_history_visible: bool

Indicator whether the chat history should be visible for new chat group members.

§default_post_comments_active: bool

Default value for whether posts can be commented on.

§default_post_notification_scope: Option<String>

Default value for post notification scope. Allowed values: group_intern, group_visible.

§default_post_placeholder_text: Option<String>

Default placeholder text for entering post content.

§default_post_visibility: String

Allowed values: group_intern, group_visible.

§dynamic_group_rule_set: Option<Vec<DynamicGroupRule>>

Rule set for dynamic group update.

§dynamic_group_status: Option<String>

Controls automatic membership refresh: active participates in scheduled and manual refreshes; manual allows explicit refresh only; inactive blocks both; none disables dynamic-group behavior without deleting stored rules or existing memberships. Null in group resources means no explicit status is stored. Allowed values: active, inactive, manual, none.

§dynamic_group_update_finished: Option<DateTime<Utc>>

A timestamp in Zulu time format, e.g. ‘2022-10-19T12:00:00Z’

§dynamic_group_update_started: Option<DateTime<Utc>>

A timestamp in Zulu time format, e.g. ‘2022-10-19T12:00:00Z’

§email_verification_mode: String

Controls email verification for anonymous group signups. Allowed values: all, existing, none.

§external_post_subscriptions_enabled: bool

Indicator if posts of this groups are featured to subscribe

§group_meeting: GroupSettingsGroupMeeting§in_statistic: bool§inform_leader: bool

Inform leader via e-mail about changes.

§is_hidden: bool§is_open_for_members: bool

Indicator if people can sign up for group membership.

§is_public: bool§max_members: Option<i64>

The maximum number of group members in counted roles and statuses.

§new_member: GroupSettingsNewMember

Campus, status, and department for newly created persons.

§posts_enabled: bool§qr_code_checkin: bool

QR Codes are sent to participants, which can be used during check-in

§qr_code_checkin_automatic_email: bool

QR Codes are not automatically sent via email

§send_default_sign_up_mail: bool

Send default sign up email to new members.

§show_street: bool§sign_up_closing_date: Option<DateTime<Utc>>

A timestamp in Zulu time format, e.g. ‘2022-10-19T12:00:00Z’

§sign_up_email_required_for_all: Option<bool>

Email is required for all participants during group sign up (spouse, children, others).

§sign_up_headline: Option<String>

Headline for group sign up.

§sign_up_notification_sent_date: Option<DateTime<Utc>>

A timestamp in Zulu time format, e.g. ‘2022-10-19T12:00:00Z’

§sign_up_opening_date: Option<DateTime<Utc>>

A timestamp in Zulu time format, e.g. ‘2022-10-19T12:00:00Z’

§sign_up_override_role_id: Option<i64>§statuses_counted_towards_seats: Vec<String>

Membership statuses that occupy seats when their role counts towards seats. Defaults to active only. An empty array means no membership occupies a seat. Allowed values: active, requested, to_delete, waiting.

§visibility: String

The visibility of a group. Allowed values: hidden, intern, public, restricted.

§waitinglist_max_persons: Option<i64>

Maximum number of persons on waiting list.

§extra: Map<String, Value>

Fields not described by the spec, e.g. instance-specific DB fields.

Trait Implementations§

Source§

impl Clone for GroupSettings

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GroupSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GroupSettings

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for GroupSettings

Source§

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 GroupSettings

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for GroupSettings

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for GroupSettings

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more