Skip to main content

GetGroupsIdsQuery

Struct GetGroupsIdsQuery 

Source
pub struct GetGroupsIdsQuery {
Show 21 fields pub limit: Option<i64>, pub ids: Option<Vec<i64>>, pub parent_id: Option<i64>, pub child_id: Option<i64>, pub campus_ids: Option<Vec<i64>>, pub agegroup_ids: Option<Vec<i64>>, pub group_status_ids: Option<Vec<i64>>, pub group_category_ids: Option<Vec<i64>>, pub target_group_ids: Option<Vec<i64>>, pub weekdays: Option<Vec<i64>>, pub group_type_ids: Option<Vec<i64>>, pub tag_ids: Option<Vec<i64>>, pub is_open_for_members: Option<bool>, pub without_my_groups: Option<bool>, pub only_my_groups: Option<bool>, pub has_meeting_place: Option<bool>, pub allow_posts: Option<bool>, pub has_posts: Option<bool>, pub has_active_chat: Option<bool>, pub query: Option<String>, pub visibility: Option<String>,
}
Expand description

Query parameters for GET /groups/ids.

Fields§

§limit: Option<i64>

Number of results per page.

§ids: Option<Vec<i64>>

Array of group ids

§parent_id: Option<i64>

Return direct child groups of this group

§child_id: Option<i64>

Return direct parent groups of this group

§campus_ids: Option<Vec<i64>>

Array of campus ids to filter the groups

§agegroup_ids: Option<Vec<i64>>

Array of age group ids to filter the groups

§group_status_ids: Option<Vec<i64>>

Array of group status ids to filter the groups

§group_category_ids: Option<Vec<i64>>

Array of group category ids to filter the groups

§target_group_ids: Option<Vec<i64>>

Array of target group ids to filter the groups

§weekdays: Option<Vec<i64>>

Array of weekdays to filter the groups. Sunday = 0, Monday = 1 …

§group_type_ids: Option<Vec<i64>>

Array of group type ids to filter the groups

§tag_ids: Option<Vec<i64>>

Array of group tag ids to filter the groups

§is_open_for_members: Option<bool>

Filters groups by its open status

§without_my_groups: Option<bool>

Determines if groups should be omitted where I am in

§only_my_groups: Option<bool>

Determines if only groups where I am in should be returned

§has_meeting_place: Option<bool>

Only show groups with meeting place

§allow_posts: Option<bool>

Only show groups where posting is allowed

§has_posts: Option<bool>

Only show groups which has posts

§has_active_chat: Option<bool>

Filter groups based on whether they have an active chat

§query: Option<String>§visibility: Option<String>

Group visibility Allowed values: hidden, intern, public, restricted.

Trait Implementations§

Source§

impl Clone for GetGroupsIdsQuery

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 GetGroupsIdsQuery

Source§

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

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

impl Default for GetGroupsIdsQuery

Source§

fn default() -> Self

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

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> 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