#[non_exhaustive]pub struct ListOrganizationsOptions {Show 13 fields
pub page: Option<u32>,
pub limit: Option<u32>,
pub cursor: Option<String>,
pub shape: Option<String>,
pub flat: bool,
pub flat_lists: bool,
pub search: Option<String>,
pub type: Option<String>,
pub level: Option<String>,
pub cgac: Option<String>,
pub parent: Option<String>,
pub include_inactive: Option<bool>,
pub extra: BTreeMap<String, String>,
}Expand description
Options for Client::list_organizations / Client::iterate_organizations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.page: Option<u32>1-based page number.
limit: Option<u32>Page size (server caps at 100).
cursor: Option<String>Keyset cursor (mutually exclusive with page).
shape: Option<String>Comma-separated field selector.
flat: boolCollapse nested objects into dot-separated keys.
flat_lists: boolWhen flat is also true, flatten list-valued fields.
search: Option<String>Free-text search filter.
type: Option<String>Filter by organization type.
level: Option<String>Filter by hierarchy level (e.g. "1" for departments).
cgac: Option<String>CGAC code filter.
parent: Option<String>Parent organization filter.
include_inactive: Option<bool>When Some(true), include inactive organizations; Some(false)
excludes them. None leaves it to the server default.
extra: BTreeMap<String, String>Escape hatch for filter keys not first-classed here.
Implementations§
Source§impl ListOrganizationsOptions
impl ListOrganizationsOptions
Sourcepub fn builder() -> ListOrganizationsOptionsBuilder
pub fn builder() -> ListOrganizationsOptionsBuilder
Create an instance of ListOrganizationsOptions using the builder syntax
Trait Implementations§
Source§impl Clone for ListOrganizationsOptions
impl Clone for ListOrganizationsOptions
Source§fn clone(&self) -> ListOrganizationsOptions
fn clone(&self) -> ListOrganizationsOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListOrganizationsOptions
impl Debug for ListOrganizationsOptions
Source§impl Default for ListOrganizationsOptions
impl Default for ListOrganizationsOptions
Source§fn default() -> ListOrganizationsOptions
fn default() -> ListOrganizationsOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListOrganizationsOptions
impl PartialEq for ListOrganizationsOptions
Source§fn eq(&self, other: &ListOrganizationsOptions) -> bool
fn eq(&self, other: &ListOrganizationsOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ListOrganizationsOptions
impl StructuralPartialEq for ListOrganizationsOptions
Auto Trait Implementations§
impl Freeze for ListOrganizationsOptions
impl RefUnwindSafe for ListOrganizationsOptions
impl Send for ListOrganizationsOptions
impl Sync for ListOrganizationsOptions
impl Unpin for ListOrganizationsOptions
impl UnsafeUnpin for ListOrganizationsOptions
impl UnwindSafe for ListOrganizationsOptions
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