pub struct SlackAppManifestDisplayInformation {
pub name: String,
pub description: Option<String>,
pub background_color: Option<String>,
pub long_description: Option<String>,
}Fields
name: Stringdescription: Option<String>background_color: Option<String>long_description: Option<String>Implementations
sourceimpl SlackAppManifestDisplayInformation
impl SlackAppManifestDisplayInformation
pub fn new(name: String) -> Self
pub fn name(&mut self, value: String) -> &mut Self
pub fn with_name(self, value: String) -> Self
pub fn description(&mut self, value: String) -> &mut Self
pub fn reset_description(&mut self) -> &mut Self
pub fn mopt_description(&mut self, value: Option<String>) -> &mut Self
pub fn with_description(self, value: String) -> Self
pub fn without_description(self) -> Self
pub fn opt_description(self, value: Option<String>) -> Self
pub fn background_color(&mut self, value: String) -> &mut Self
pub fn reset_background_color(&mut self) -> &mut Self
pub fn mopt_background_color(&mut self, value: Option<String>) -> &mut Self
pub fn with_background_color(self, value: String) -> Self
pub fn without_background_color(self) -> Self
pub fn opt_background_color(self, value: Option<String>) -> Self
pub fn long_description(&mut self, value: String) -> &mut Self
pub fn reset_long_description(&mut self) -> &mut Self
pub fn mopt_long_description(&mut self, value: Option<String>) -> &mut Self
pub fn with_long_description(self, value: String) -> Self
pub fn without_long_description(self) -> Self
pub fn opt_long_description(self, value: Option<String>) -> Self
Trait Implementations
sourceimpl Clone for SlackAppManifestDisplayInformation
impl Clone for SlackAppManifestDisplayInformation
sourcefn clone(&self) -> SlackAppManifestDisplayInformation
fn clone(&self) -> SlackAppManifestDisplayInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'de> Deserialize<'de> for SlackAppManifestDisplayInformation
impl<'de> Deserialize<'de> for SlackAppManifestDisplayInformation
sourcefn 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
sourceimpl From<SlackAppManifestDisplayInformationInit> for SlackAppManifestDisplayInformation
impl From<SlackAppManifestDisplayInformationInit> for SlackAppManifestDisplayInformation
sourcefn from(value: SlackAppManifestDisplayInformationInit) -> Self
fn from(value: SlackAppManifestDisplayInformationInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackAppManifestDisplayInformation> for SlackAppManifestDisplayInformation
impl PartialEq<SlackAppManifestDisplayInformation> for SlackAppManifestDisplayInformation
sourcefn eq(&self, other: &SlackAppManifestDisplayInformation) -> bool
fn eq(&self, other: &SlackAppManifestDisplayInformation) -> bool
impl StructuralPartialEq for SlackAppManifestDisplayInformation
Auto Trait Implementations
impl RefUnwindSafe for SlackAppManifestDisplayInformation
impl Send for SlackAppManifestDisplayInformation
impl Sync for SlackAppManifestDisplayInformation
impl Unpin for SlackAppManifestDisplayInformation
impl UnwindSafe for SlackAppManifestDisplayInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more