pub struct TeamMembership {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub user: Option<Box<User>>,
pub team: Option<Box<Team>>,
pub owner: Option<bool>,
pub sort_order: Option<f64>,
}Expand description
Defines the membership of a user to a team.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
user: Option<Box<User>>The user that the membership is associated with.
team: Option<Box<Team>>The team that the membership is associated with.
owner: Option<bool>Whether the user is an owner of the team.
sort_order: Option<f64>The order of the item in the users team list.
Trait Implementations§
Source§impl Clone for TeamMembership
impl Clone for TeamMembership
Source§fn clone(&self) -> TeamMembership
fn clone(&self) -> TeamMembership
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 TeamMembership
impl Debug for TeamMembership
Source§impl Default for TeamMembership
impl Default for TeamMembership
Source§fn default() -> TeamMembership
fn default() -> TeamMembership
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TeamMembershipwhere
TeamMembership: Default,
impl<'de> Deserialize<'de> for TeamMembershipwhere
TeamMembership: Default,
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
Source§impl GraphQLFields for TeamMembership
impl GraphQLFields for TeamMembership
Auto Trait Implementations§
impl Freeze for TeamMembership
impl RefUnwindSafe for TeamMembership
impl Send for TeamMembership
impl Sync for TeamMembership
impl Unpin for TeamMembership
impl UnwindSafe for TeamMembership
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