[−][src]Struct slack_morphism::api::SlackApiUsersGetPresenceResponse
Fields
presence: String
online: Option<bool>
auto_away: Option<bool>
manual_away: Option<bool>
connection_count: Option<u64>
last_activity: Option<SlackDateTime>
Implementations
impl SlackApiUsersGetPresenceResponse
[src]
pub fn new(presence: String) -> Self
[src]
pub fn presence(&mut self, value: String) -> &mut Self
[src]
pub fn with_presence(self, value: String) -> Self
[src]
pub fn online(&mut self, value: bool) -> &mut Self
[src]
pub fn reset_online(&mut self) -> &mut Self
[src]
pub fn mopt_online(&mut self, value: Option<bool>) -> &mut Self
[src]
pub fn with_online(self, value: bool) -> Self
[src]
pub fn without_online(self) -> Self
[src]
pub fn opt_online(self, value: Option<bool>) -> Self
[src]
pub fn auto_away(&mut self, value: bool) -> &mut Self
[src]
pub fn reset_auto_away(&mut self) -> &mut Self
[src]
pub fn mopt_auto_away(&mut self, value: Option<bool>) -> &mut Self
[src]
pub fn with_auto_away(self, value: bool) -> Self
[src]
pub fn without_auto_away(self) -> Self
[src]
pub fn opt_auto_away(self, value: Option<bool>) -> Self
[src]
pub fn manual_away(&mut self, value: bool) -> &mut Self
[src]
pub fn reset_manual_away(&mut self) -> &mut Self
[src]
pub fn mopt_manual_away(&mut self, value: Option<bool>) -> &mut Self
[src]
pub fn with_manual_away(self, value: bool) -> Self
[src]
pub fn without_manual_away(self) -> Self
[src]
pub fn opt_manual_away(self, value: Option<bool>) -> Self
[src]
pub fn connection_count(&mut self, value: u64) -> &mut Self
[src]
pub fn reset_connection_count(&mut self) -> &mut Self
[src]
pub fn mopt_connection_count(&mut self, value: Option<u64>) -> &mut Self
[src]
pub fn with_connection_count(self, value: u64) -> Self
[src]
pub fn without_connection_count(self) -> Self
[src]
pub fn opt_connection_count(self, value: Option<u64>) -> Self
[src]
pub fn last_activity(&mut self, value: SlackDateTime) -> &mut Self
[src]
pub fn reset_last_activity(&mut self) -> &mut Self
[src]
pub fn mopt_last_activity(&mut self, value: Option<SlackDateTime>) -> &mut Self
[src]
pub fn with_last_activity(self, value: SlackDateTime) -> Self
[src]
pub fn without_last_activity(self) -> Self
[src]
pub fn opt_last_activity(self, value: Option<SlackDateTime>) -> Self
[src]
Trait Implementations
impl Clone for SlackApiUsersGetPresenceResponse
[src]
fn clone(&self) -> SlackApiUsersGetPresenceResponse
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackApiUsersGetPresenceResponse
[src]
impl<'de> Deserialize<'de> for SlackApiUsersGetPresenceResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackApiUsersGetPresenceResponseInit> for SlackApiUsersGetPresenceResponse
[src]
fn from(value: SlackApiUsersGetPresenceResponseInit) -> Self
[src]
impl PartialEq<SlackApiUsersGetPresenceResponse> for SlackApiUsersGetPresenceResponse
[src]
fn eq(&self, other: &SlackApiUsersGetPresenceResponse) -> bool
[src]
fn ne(&self, other: &SlackApiUsersGetPresenceResponse) -> bool
[src]
impl Serialize for SlackApiUsersGetPresenceResponse
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SlackApiUsersGetPresenceResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackApiUsersGetPresenceResponse
impl Send for SlackApiUsersGetPresenceResponse
impl Sync for SlackApiUsersGetPresenceResponse
impl Unpin for SlackApiUsersGetPresenceResponse
impl UnwindSafe for SlackApiUsersGetPresenceResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,