pub struct SlackApiUsersLookupByEmailRequest {
pub email: EmailAddress,
}Fields§
§email: EmailAddressImplementations§
Source§impl SlackApiUsersLookupByEmailRequest
impl SlackApiUsersLookupByEmailRequest
Sourcepub fn new(email: EmailAddress) -> Self
pub fn new(email: EmailAddress) -> Self
Creates a new SlackApiUsersLookupByEmailRequest from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn email(&mut self, value: EmailAddress) -> &mut Self
pub fn email(&mut self, value: EmailAddress) -> &mut Self
Sets email to value.
Sourcepub fn with_email(self, value: EmailAddress) -> Self
pub fn with_email(self, value: EmailAddress) -> Self
Returns self with email set to value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackApiUsersLookupByEmailRequest
impl<'de> Deserialize<'de> for SlackApiUsersLookupByEmailRequest
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<SlackApiUsersLookupByEmailRequestInit> for SlackApiUsersLookupByEmailRequest
impl From<SlackApiUsersLookupByEmailRequestInit> for SlackApiUsersLookupByEmailRequest
Source§fn from(value: SlackApiUsersLookupByEmailRequestInit) -> Self
fn from(value: SlackApiUsersLookupByEmailRequestInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiUsersLookupByEmailRequest
Auto Trait Implementations§
impl Freeze for SlackApiUsersLookupByEmailRequest
impl RefUnwindSafe for SlackApiUsersLookupByEmailRequest
impl Send for SlackApiUsersLookupByEmailRequest
impl Sync for SlackApiUsersLookupByEmailRequest
impl Unpin for SlackApiUsersLookupByEmailRequest
impl UnsafeUnpin for SlackApiUsersLookupByEmailRequest
impl UnwindSafe for SlackApiUsersLookupByEmailRequest
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