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