Struct slack_morphism::prelude::SlackHomeView
source · [−]pub struct SlackHomeView {
pub blocks: Vec<SlackBlock, Global>,
pub private_metadata: Option<String>,
pub callback_id: Option<SlackCallbackId>,
pub external_id: Option<String>,
}Fields
blocks: Vec<SlackBlock, Global>private_metadata: Option<String>callback_id: Option<SlackCallbackId>external_id: Option<String>Implementations
sourceimpl SlackHomeView
impl SlackHomeView
pub fn new(blocks: Vec<SlackBlock, Global>) -> SlackHomeView
pub fn blocks(&mut self, value: Vec<SlackBlock, Global>) -> &mut SlackHomeView
pub fn with_blocks(self, value: Vec<SlackBlock, Global>) -> SlackHomeView
pub fn private_metadata(&mut self, value: String) -> &mut SlackHomeView
pub fn reset_private_metadata(&mut self) -> &mut SlackHomeView
pub fn mopt_private_metadata(
&mut self,
value: Option<String>
) -> &mut SlackHomeView
pub fn with_private_metadata(self, value: String) -> SlackHomeView
pub fn without_private_metadata(self) -> SlackHomeView
pub fn opt_private_metadata(self, value: Option<String>) -> SlackHomeView
pub fn callback_id(&mut self, value: SlackCallbackId) -> &mut SlackHomeView
pub fn reset_callback_id(&mut self) -> &mut SlackHomeView
pub fn mopt_callback_id(
&mut self,
value: Option<SlackCallbackId>
) -> &mut SlackHomeView
pub fn with_callback_id(self, value: SlackCallbackId) -> SlackHomeView
pub fn without_callback_id(self) -> SlackHomeView
pub fn opt_callback_id(self, value: Option<SlackCallbackId>) -> SlackHomeView
pub fn external_id(&mut self, value: String) -> &mut SlackHomeView
pub fn reset_external_id(&mut self) -> &mut SlackHomeView
pub fn mopt_external_id(&mut self, value: Option<String>) -> &mut SlackHomeView
pub fn with_external_id(self, value: String) -> SlackHomeView
pub fn without_external_id(self) -> SlackHomeView
pub fn opt_external_id(self, value: Option<String>) -> SlackHomeView
Trait Implementations
sourceimpl Clone for SlackHomeView
impl Clone for SlackHomeView
sourcefn clone(&self) -> SlackHomeView
fn clone(&self) -> SlackHomeView
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 more
sourceimpl Debug for SlackHomeView
impl Debug for SlackHomeView
sourceimpl<'de> Deserialize<'de> for SlackHomeView
impl<'de> Deserialize<'de> for SlackHomeView
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<SlackHomeView, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackHomeView, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<SlackHomeViewInit> for SlackHomeView
impl From<SlackHomeViewInit> for SlackHomeView
sourcefn from(value: SlackHomeViewInit) -> SlackHomeView
fn from(value: SlackHomeViewInit) -> SlackHomeView
Converts to this type from the input type.
sourceimpl PartialEq<SlackHomeView> for SlackHomeView
impl PartialEq<SlackHomeView> for SlackHomeView
sourcefn eq(&self, other: &SlackHomeView) -> bool
fn eq(&self, other: &SlackHomeView) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SlackHomeView) -> bool
fn ne(&self, other: &SlackHomeView) -> bool
This method tests for !=.
sourceimpl Serialize for SlackHomeView
impl Serialize for SlackHomeView
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SlackHomeView
Auto Trait Implementations
impl RefUnwindSafe for SlackHomeView
impl Send for SlackHomeView
impl Sync for SlackHomeView
impl Unpin for SlackHomeView
impl UnwindSafe for SlackHomeView
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more