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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackAppManifestFeaturesBotUser
Auto Trait Implementations§
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