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.
Source§impl PartialEq for SlackChannelDetails
impl PartialEq for SlackChannelDetails
Source§impl Serialize for SlackChannelDetails
impl Serialize for SlackChannelDetails
impl StructuralPartialEq for SlackChannelDetails
Auto Trait Implementations§
impl Freeze for SlackChannelDetails
impl RefUnwindSafe for SlackChannelDetails
impl Send for SlackChannelDetails
impl Sync for SlackChannelDetails
impl Unpin for SlackChannelDetails
impl UnwindSafe for SlackChannelDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)