pub struct Team {
pub icon: Option<ImageHash>,
pub id: Id<OauthTeamMarker>,
pub members: Vec<TeamMember>,
pub name: String,
pub owner_user_id: Id<UserMarker>,
}
Fields§
§icon: Option<ImageHash>
§id: Id<OauthTeamMarker>
§members: Vec<TeamMember>
§name: String
§owner_user_id: Id<UserMarker>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Team
impl<'de> Deserialize<'de> for Team
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 Eq for Team
impl StructuralPartialEq for Team
Auto Trait Implementations§
impl Freeze for Team
impl RefUnwindSafe for Team
impl Send for Team
impl Sync for Team
impl Unpin for Team
impl UnwindSafe for Team
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)