Struct slack_morphism::prelude::SlackChannelCurrentState [−][src]
pub struct SlackChannelCurrentState { pub last_read: Option<SlackTs>, pub unread_count: Option<u64>, pub unread_count_display: Option<u64>, }
Fields
last_read: Option<SlackTs>
unread_count: Option<u64>
unread_count_display: Option<u64>
Implementations
pub fn mopt_unread_count_display(
&mut self,
value: Option<u64>
) -> &mut SlackChannelCurrentState
[src]Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackChannelCurrentState, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackChannelCurrentState, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SlackChannelCurrentState
impl Send for SlackChannelCurrentState
impl Sync for SlackChannelCurrentState
impl Unpin for SlackChannelCurrentState
impl UnwindSafe for SlackChannelCurrentState
Blanket Implementations
Mutably borrows from an owned value. Read more