pub struct TeamMembershipFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub date_expires: DateTime<Utc>,
pub date_joined: DateTime<Utc>,
pub last_change_comment: String,
pub last_changed_by_link: Url,
pub member_link: Url,
pub status: TeamMembershipStatus,
pub team_link: Url,
}Expand description
Representation of the team_membership-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
date_expires: DateTime<Utc>Date expires
date_joined: DateTime<Utc>Date joined
The date in which this membership was made active for the first time.
last_change_comment: StringComment on the last change
last_changed_by_link: UrlLast person who change this
member_link: UrlMember
status: TeamMembershipStatusThe state of this membership
team_link: UrlTeam
Implementations§
Source§impl TeamMembershipFull
impl TeamMembershipFull
Sourcepub fn self_(&self) -> Option<TeamMembership>
pub fn self_(&self) -> Option<TeamMembership>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<TeamMembership>)
Sourcepub fn last_changed_by(&self) -> Person
pub fn last_changed_by(&self) -> Person
Last person who change this
pub fn set_last_changed_by(&mut self, value: Person)
pub fn set_member(&mut self, value: Person)
pub fn set_team(&mut self, value: Person)
Trait Implementations§
Source§impl Clone for TeamMembershipFull
impl Clone for TeamMembershipFull
Source§fn clone(&self) -> TeamMembershipFull
fn clone(&self) -> TeamMembershipFull
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 TeamMembershipFull
impl Debug for TeamMembershipFull
Source§impl<'de> Deserialize<'de> for TeamMembershipFull
impl<'de> Deserialize<'de> for TeamMembershipFull
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 PartialEq for TeamMembershipFull
impl PartialEq for TeamMembershipFull
Source§impl Serialize for TeamMembershipFull
impl Serialize for TeamMembershipFull
impl StructuralPartialEq for TeamMembershipFull
Auto Trait Implementations§
impl Freeze for TeamMembershipFull
impl RefUnwindSafe for TeamMembershipFull
impl Send for TeamMembershipFull
impl Sync for TeamMembershipFull
impl Unpin for TeamMembershipFull
impl UnwindSafe for TeamMembershipFull
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