Struct slack_morphism::SlackChannelDetails
source · pub struct SlackChannelDetails {
pub value: String,
pub creator: Option<SlackUserId>,
pub last_set: Option<SlackDateTime>,
}Fields§
§value: String§creator: Option<SlackUserId>§last_set: Option<SlackDateTime>Implementations§
source§impl SlackChannelDetails
impl SlackChannelDetails
pub fn new(value: String) -> Self
pub fn value(&mut self, value: String) -> &mut Self
pub fn with_value(self, value: String) -> Self
pub fn creator(&mut self, value: SlackUserId) -> &mut Self
pub fn reset_creator(&mut self) -> &mut Self
pub fn mopt_creator(&mut self, value: Option<SlackUserId>) -> &mut Self
pub fn with_creator(self, value: SlackUserId) -> Self
pub fn without_creator(self) -> Self
pub fn opt_creator(self, value: Option<SlackUserId>) -> Self
pub fn last_set(&mut self, value: SlackDateTime) -> &mut Self
pub fn reset_last_set(&mut self) -> &mut Self
pub fn mopt_last_set(&mut self, value: Option<SlackDateTime>) -> &mut Self
pub fn with_last_set(self, value: SlackDateTime) -> Self
pub fn without_last_set(self) -> Self
pub fn opt_last_set(self, value: Option<SlackDateTime>) -> Self
Trait Implementations§
source§impl Clone for SlackChannelDetails
impl Clone for SlackChannelDetails
source§fn clone(&self) -> SlackChannelDetails
fn clone(&self) -> SlackChannelDetails
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 Debug for SlackChannelDetails
impl Debug for SlackChannelDetails
source§impl<'de> Deserialize<'de> for SlackChannelDetails
impl<'de> Deserialize<'de> for SlackChannelDetails
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<SlackChannelDetailsInit> for SlackChannelDetails
impl From<SlackChannelDetailsInit> for SlackChannelDetails
source§fn from(value: SlackChannelDetailsInit) -> Self
fn from(value: SlackChannelDetailsInit) -> Self
Converts to this type from the input type.