Struct slack_morphism::api::SlackApiUsersGetPresenceResponse [−][src]
pub struct SlackApiUsersGetPresenceResponse {
pub presence: String,
pub online: Option<bool>,
pub auto_away: Option<bool>,
pub manual_away: Option<bool>,
pub connection_count: Option<u64>,
pub last_activity: Option<SlackDateTime>,
}
Fields
presence: String
online: Option<bool>
auto_away: Option<bool>
manual_away: Option<bool>
connection_count: Option<u64>
last_activity: Option<SlackDateTime>
Implementations
Trait Implementations
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for SlackApiUsersGetPresenceResponse
impl Sync for SlackApiUsersGetPresenceResponse
impl Unpin for SlackApiUsersGetPresenceResponse
Blanket Implementations
Mutably borrows from an owned value. Read more