Struct slack_morphism::api::SlackApiTeamProfileGetRequest
source · pub struct SlackApiTeamProfileGetRequest {
pub visibility: Option<SlackTeamId>,
}Fields§
§visibility: Option<SlackTeamId>Implementations§
source§impl SlackApiTeamProfileGetRequest
impl SlackApiTeamProfileGetRequest
pub fn new() -> Self
pub fn visibility(&mut self, value: SlackTeamId) -> &mut Self
pub fn reset_visibility(&mut self) -> &mut Self
pub fn mopt_visibility(&mut self, value: Option<SlackTeamId>) -> &mut Self
pub fn with_visibility(self, value: SlackTeamId) -> Self
pub fn without_visibility(self) -> Self
pub fn opt_visibility(self, value: Option<SlackTeamId>) -> Self
Trait Implementations§
source§impl Clone for SlackApiTeamProfileGetRequest
impl Clone for SlackApiTeamProfileGetRequest
source§fn clone(&self) -> SlackApiTeamProfileGetRequest
fn clone(&self) -> SlackApiTeamProfileGetRequest
Returns a copy 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<'de> Deserialize<'de> for SlackApiTeamProfileGetRequest
impl<'de> Deserialize<'de> for SlackApiTeamProfileGetRequest
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<SlackApiTeamProfileGetRequestInit> for SlackApiTeamProfileGetRequest
impl From<SlackApiTeamProfileGetRequestInit> for SlackApiTeamProfileGetRequest
source§fn from(value: SlackApiTeamProfileGetRequestInit) -> Self
fn from(value: SlackApiTeamProfileGetRequestInit) -> Self
Converts to this type from the input type.
source§impl PartialEq<SlackApiTeamProfileGetRequest> for SlackApiTeamProfileGetRequest
impl PartialEq<SlackApiTeamProfileGetRequest> for SlackApiTeamProfileGetRequest
source§fn eq(&self, other: &SlackApiTeamProfileGetRequest) -> bool
fn eq(&self, other: &SlackApiTeamProfileGetRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.