pub struct SlackMessageAttachmentFieldObject {
pub title: Option<String>,
pub value: Option<String>,
pub short: Option<bool>,
}Fields
title: Option<String>value: Option<String>short: Option<bool>Implementations
sourceimpl SlackMessageAttachmentFieldObject
impl SlackMessageAttachmentFieldObject
pub fn new() -> Self
pub fn title(&mut self, value: String) -> &mut Self
pub fn reset_title(&mut self) -> &mut Self
pub fn mopt_title(&mut self, value: Option<String>) -> &mut Self
pub fn with_title(self, value: String) -> Self
pub fn without_title(self) -> Self
pub fn opt_title(self, value: Option<String>) -> Self
pub fn value(&mut self, value: String) -> &mut Self
pub fn reset_value(&mut self) -> &mut Self
pub fn mopt_value(&mut self, value: Option<String>) -> &mut Self
pub fn with_value(self, value: String) -> Self
pub fn without_value(self) -> Self
pub fn opt_value(self, value: Option<String>) -> Self
pub fn short(&mut self, value: bool) -> &mut Self
pub fn reset_short(&mut self) -> &mut Self
pub fn mopt_short(&mut self, value: Option<bool>) -> &mut Self
pub fn with_short(self, value: bool) -> Self
pub fn without_short(self) -> Self
pub fn opt_short(self, value: Option<bool>) -> Self
Trait Implementations
sourceimpl Clone for SlackMessageAttachmentFieldObject
impl Clone for SlackMessageAttachmentFieldObject
sourcefn clone(&self) -> SlackMessageAttachmentFieldObject
fn clone(&self) -> SlackMessageAttachmentFieldObject
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 SlackMessageAttachmentFieldObject
impl<'de> Deserialize<'de> for SlackMessageAttachmentFieldObject
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<SlackMessageAttachmentFieldObjectInit> for SlackMessageAttachmentFieldObject
impl From<SlackMessageAttachmentFieldObjectInit> for SlackMessageAttachmentFieldObject
sourcefn from(value: SlackMessageAttachmentFieldObjectInit) -> Self
fn from(value: SlackMessageAttachmentFieldObjectInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackMessageAttachmentFieldObject> for SlackMessageAttachmentFieldObject
impl PartialEq<SlackMessageAttachmentFieldObject> for SlackMessageAttachmentFieldObject
sourcefn eq(&self, other: &SlackMessageAttachmentFieldObject) -> bool
fn eq(&self, other: &SlackMessageAttachmentFieldObject) -> bool
impl StructuralPartialEq for SlackMessageAttachmentFieldObject
Auto Trait Implementations
impl RefUnwindSafe for SlackMessageAttachmentFieldObject
impl Send for SlackMessageAttachmentFieldObject
impl Sync for SlackMessageAttachmentFieldObject
impl Unpin for SlackMessageAttachmentFieldObject
impl UnwindSafe for SlackMessageAttachmentFieldObject
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