pub struct SlackStatefulView {
pub state_params: SlackStatefulStateParams,
pub view: SlackView,
}Fields§
§state_params: SlackStatefulStateParams§view: SlackViewImplementations§
Source§impl SlackStatefulView
impl SlackStatefulView
Sourcepub fn new(state_params: SlackStatefulStateParams, view: SlackView) -> Self
pub fn new(state_params: SlackStatefulStateParams, view: SlackView) -> Self
Creates a new SlackStatefulView from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn state_params(&mut self, value: SlackStatefulStateParams) -> &mut Self
pub fn state_params(&mut self, value: SlackStatefulStateParams) -> &mut Self
Sets state_params to value.
Sourcepub fn with_state_params(self, value: SlackStatefulStateParams) -> Self
pub fn with_state_params(self, value: SlackStatefulStateParams) -> Self
Returns self with state_params set to value.
Trait Implementations§
Source§impl Clone for SlackStatefulView
impl Clone for SlackStatefulView
Source§impl Debug for SlackStatefulView
impl Debug for SlackStatefulView
Source§impl<'de> Deserialize<'de> for SlackStatefulView
impl<'de> Deserialize<'de> for SlackStatefulView
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<SlackStatefulViewInit> for SlackStatefulView
impl From<SlackStatefulViewInit> for SlackStatefulView
Source§fn from(value: SlackStatefulViewInit) -> Self
fn from(value: SlackStatefulViewInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackStatefulView
impl PartialEq for SlackStatefulView
Source§impl Serialize for SlackStatefulView
impl Serialize for SlackStatefulView
impl StructuralPartialEq for SlackStatefulView
Auto Trait Implementations§
impl Freeze for SlackStatefulView
impl RefUnwindSafe for SlackStatefulView
impl Send for SlackStatefulView
impl Sync for SlackStatefulView
impl Unpin for SlackStatefulView
impl UnsafeUnpin for SlackStatefulView
impl UnwindSafe for SlackStatefulView
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