[][src]Struct slack_morphism_models::SlackIcon

pub struct SlackIcon {
    pub image_original: Option<String>,
    pub image_default: Option<bool>,
    pub images: Option<SlackIconImages>,
}

Fields

image_original: Option<String>image_default: Option<bool>images: Option<SlackIconImages>

Implementations

impl SlackIcon[src]

pub fn new() -> Self[src]

pub fn image_original(&mut self, value: String) -> &mut Self[src]

pub fn reset_image_original(&mut self) -> &mut Self[src]

pub fn mopt_image_original(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_image_original(self, value: String) -> Self[src]

pub fn without_image_original(self) -> Self[src]

pub fn opt_image_original(self, value: Option<String>) -> Self[src]

pub fn image_default(&mut self, value: bool) -> &mut Self[src]

pub fn reset_image_default(&mut self) -> &mut Self[src]

pub fn mopt_image_default(&mut self, value: Option<bool>) -> &mut Self[src]

pub fn with_image_default(self, value: bool) -> Self[src]

pub fn without_image_default(self) -> Self[src]

pub fn opt_image_default(self, value: Option<bool>) -> Self[src]

pub fn images(&mut self, value: SlackIconImages) -> &mut Self[src]

pub fn reset_images(&mut self) -> &mut Self[src]

pub fn mopt_images(&mut self, value: Option<SlackIconImages>) -> &mut Self[src]

pub fn with_images(self, value: SlackIconImages) -> Self[src]

pub fn without_images(self) -> Self[src]

pub fn opt_images(self, value: Option<SlackIconImages>) -> Self[src]

Trait Implementations

impl Clone for SlackIcon[src]

impl Debug for SlackIcon[src]

impl<'de> Deserialize<'de> for SlackIcon[src]

impl From<SlackIconInit> for SlackIcon[src]

impl PartialEq<SlackIcon> for SlackIcon[src]

impl Serialize for SlackIcon[src]

impl StructuralPartialEq for SlackIcon[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.