pub struct SlackAppManifestFeaturesBotUser {
pub display_name: String,
pub always_online: bool,
}
Fields§
§display_name: String
§always_online: bool
Implementations§
Source§impl SlackAppManifestFeaturesBotUser
impl SlackAppManifestFeaturesBotUser
pub fn new(display_name: String, always_online: bool) -> Self
pub fn display_name(&mut self, value: String) -> &mut Self
pub fn with_display_name(self, value: String) -> Self
pub fn always_online(&mut self, value: bool) -> &mut Self
pub fn with_always_online(self, value: bool) -> Self
Trait Implementations§
Source§impl Clone for SlackAppManifestFeaturesBotUser
impl Clone for SlackAppManifestFeaturesBotUser
Source§fn clone(&self) -> SlackAppManifestFeaturesBotUser
fn clone(&self) -> SlackAppManifestFeaturesBotUser
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<'de> Deserialize<'de> for SlackAppManifestFeaturesBotUser
impl<'de> Deserialize<'de> for SlackAppManifestFeaturesBotUser
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<SlackAppManifestFeaturesBotUserInit> for SlackAppManifestFeaturesBotUser
impl From<SlackAppManifestFeaturesBotUserInit> for SlackAppManifestFeaturesBotUser
Source§fn from(value: SlackAppManifestFeaturesBotUserInit) -> Self
fn from(value: SlackAppManifestFeaturesBotUserInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackAppManifestFeaturesBotUser
impl PartialEq for SlackAppManifestFeaturesBotUser
Source§fn eq(&self, other: &SlackAppManifestFeaturesBotUser) -> bool
fn eq(&self, other: &SlackAppManifestFeaturesBotUser) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackAppManifestFeaturesBotUser
Auto Trait Implementations§
impl Freeze for SlackAppManifestFeaturesBotUser
impl RefUnwindSafe for SlackAppManifestFeaturesBotUser
impl Send for SlackAppManifestFeaturesBotUser
impl Sync for SlackAppManifestFeaturesBotUser
impl Unpin for SlackAppManifestFeaturesBotUser
impl UnwindSafe for SlackAppManifestFeaturesBotUser
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
)