#[non_exhaustive]pub struct ListMemberTeamsOptionalParams {
pub page_size: Option<i64>,
pub page_number: Option<i64>,
pub fields_team: Option<Vec<TeamsField>>,
}
Expand description
ListMemberTeamsOptionalParams is a struct for passing parameters to the method TeamsAPI::list_member_teams
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_size: Option<i64>
Size for a given page. The maximum allowed value is 100.
page_number: Option<i64>
Specific page number to return.
fields_team: Option<Vec<TeamsField>>
List of fields that need to be fetched.
Implementations§
Source§impl ListMemberTeamsOptionalParams
impl ListMemberTeamsOptionalParams
Sourcepub fn page_size(self, value: i64) -> Self
pub fn page_size(self, value: i64) -> Self
Size for a given page. The maximum allowed value is 100.
Sourcepub fn page_number(self, value: i64) -> Self
pub fn page_number(self, value: i64) -> Self
Specific page number to return.
Sourcepub fn fields_team(self, value: Vec<TeamsField>) -> Self
pub fn fields_team(self, value: Vec<TeamsField>) -> Self
List of fields that need to be fetched.
Trait Implementations§
Source§impl Clone for ListMemberTeamsOptionalParams
impl Clone for ListMemberTeamsOptionalParams
Source§fn clone(&self) -> ListMemberTeamsOptionalParams
fn clone(&self) -> ListMemberTeamsOptionalParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ListMemberTeamsOptionalParams
impl Default for ListMemberTeamsOptionalParams
Source§fn default() -> ListMemberTeamsOptionalParams
fn default() -> ListMemberTeamsOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListMemberTeamsOptionalParams
impl RefUnwindSafe for ListMemberTeamsOptionalParams
impl Send for ListMemberTeamsOptionalParams
impl Sync for ListMemberTeamsOptionalParams
impl Unpin for ListMemberTeamsOptionalParams
impl UnwindSafe for ListMemberTeamsOptionalParams
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