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
sourceimpl 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
sourceimpl Clone for SlackChannelDetails
impl Clone for SlackChannelDetails
sourcefn clone(&self) -> SlackChannelDetails
fn clone(&self) -> SlackChannelDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SlackChannelDetails
impl Debug for SlackChannelDetails
sourceimpl<'de> Deserialize<'de> for SlackChannelDetails
impl<'de> Deserialize<'de> for SlackChannelDetails
sourcefn 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
sourceimpl From<SlackChannelDetailsInit> for SlackChannelDetails
impl From<SlackChannelDetailsInit> for SlackChannelDetails
sourcefn from(value: SlackChannelDetailsInit) -> Self
fn from(value: SlackChannelDetailsInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackChannelDetails> for SlackChannelDetails
impl PartialEq<SlackChannelDetails> for SlackChannelDetails
sourcefn eq(&self, other: &SlackChannelDetails) -> bool
fn eq(&self, other: &SlackChannelDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SlackChannelDetails) -> bool
fn ne(&self, other: &SlackChannelDetails) -> bool
This method tests for !=
.
sourceimpl Serialize for SlackChannelDetails
impl Serialize for SlackChannelDetails
impl StructuralPartialEq for SlackChannelDetails
Auto Trait Implementations
impl RefUnwindSafe for SlackChannelDetails
impl Send for SlackChannelDetails
impl Sync for SlackChannelDetails
impl Unpin for SlackChannelDetails
impl UnwindSafe for SlackChannelDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more