pub struct CreateInvitationTarget {
pub target_type: String,
pub value: String,
}Expand description
Target for creating an invitation
Fields§
§target_type: StringTarget type: “email”, “phone”, or “internal”
value: StringTarget value: email address, phone number, or internal user ID
Implementations§
Trait Implementations§
Source§impl Clone for CreateInvitationTarget
impl Clone for CreateInvitationTarget
Source§fn clone(&self) -> CreateInvitationTarget
fn clone(&self) -> CreateInvitationTarget
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 CreateInvitationTarget
impl Debug for CreateInvitationTarget
Source§impl<'de> Deserialize<'de> for CreateInvitationTarget
impl<'de> Deserialize<'de> for CreateInvitationTarget
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
Auto Trait Implementations§
impl Freeze for CreateInvitationTarget
impl RefUnwindSafe for CreateInvitationTarget
impl Send for CreateInvitationTarget
impl Sync for CreateInvitationTarget
impl Unpin for CreateInvitationTarget
impl UnwindSafe for CreateInvitationTarget
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