pub struct InvitationTarget {
pub target_type: InvitationTargetType,
pub value: String,
pub name: Option<String>,
pub avatar_url: Option<String>,
}Expand description
Invitation target from API responses
Fields§
§target_type: InvitationTargetType§value: String§name: Option<String>Display name of the person being invited
avatar_url: Option<String>Avatar URL for the person being invited (for display in invitation lists)
Implementations§
Trait Implementations§
Source§impl Clone for InvitationTarget
impl Clone for InvitationTarget
Source§fn clone(&self) -> InvitationTarget
fn clone(&self) -> InvitationTarget
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 InvitationTarget
impl Debug for InvitationTarget
Source§impl<'de> Deserialize<'de> for InvitationTarget
impl<'de> Deserialize<'de> for InvitationTarget
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 From<InvitationTarget> for AcceptInvitationParam
impl From<InvitationTarget> for AcceptInvitationParam
Source§fn from(target: InvitationTarget) -> Self
fn from(target: InvitationTarget) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvitationTarget
impl RefUnwindSafe for InvitationTarget
impl Send for InvitationTarget
impl Sync for InvitationTarget
impl Unpin for InvitationTarget
impl UnwindSafe for InvitationTarget
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