#[non_exhaustive]pub struct AuthNMappingTeamAttributes {
pub avatar: Option<Option<String>>,
pub banner: Option<Option<i64>>,
pub handle: Option<String>,
pub link_count: Option<i32>,
pub name: Option<String>,
pub summary: Option<Option<String>>,
pub user_count: Option<i32>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Team attributes.
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.avatar: Option<Option<String>>
Unicode representation of the avatar for the team, limited to a single grapheme
Banner selection for the team
handle: Option<String>
The team’s identifier
link_count: Option<i32>
The number of links belonging to the team
name: Option<String>
The name of the team
summary: Option<Option<String>>
A brief summary of the team, derived from the description
user_count: Option<i32>
The number of users belonging to the team
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl AuthNMappingTeamAttributes
impl AuthNMappingTeamAttributes
pub fn new() -> AuthNMappingTeamAttributes
pub fn avatar(self, value: Option<String>) -> Self
pub fn handle(self, value: String) -> Self
pub fn link_count(self, value: i32) -> Self
pub fn name(self, value: String) -> Self
pub fn summary(self, value: Option<String>) -> Self
pub fn user_count(self, value: i32) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for AuthNMappingTeamAttributes
impl Clone for AuthNMappingTeamAttributes
Source§fn clone(&self) -> AuthNMappingTeamAttributes
fn clone(&self) -> AuthNMappingTeamAttributes
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 Debug for AuthNMappingTeamAttributes
impl Debug for AuthNMappingTeamAttributes
Source§impl Default for AuthNMappingTeamAttributes
impl Default for AuthNMappingTeamAttributes
Source§impl<'de> Deserialize<'de> for AuthNMappingTeamAttributes
impl<'de> Deserialize<'de> for AuthNMappingTeamAttributes
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 AuthNMappingTeamAttributes
Auto Trait Implementations§
impl Freeze for AuthNMappingTeamAttributes
impl RefUnwindSafe for AuthNMappingTeamAttributes
impl Send for AuthNMappingTeamAttributes
impl Sync for AuthNMappingTeamAttributes
impl Unpin for AuthNMappingTeamAttributes
impl UnwindSafe for AuthNMappingTeamAttributes
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