pub struct SlackApiViewsOpenResponse {
pub view: SlackStatefulView,
}Fields§
§view: SlackStatefulViewImplementations§
Source§impl SlackApiViewsOpenResponse
impl SlackApiViewsOpenResponse
Sourcepub fn new(view: SlackStatefulView) -> Self
pub fn new(view: SlackStatefulView) -> Self
Creates a new SlackApiViewsOpenResponse 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 SlackApiViewsOpenResponse
impl Clone for SlackApiViewsOpenResponse
Source§impl Debug for SlackApiViewsOpenResponse
impl Debug for SlackApiViewsOpenResponse
Source§impl<'de> Deserialize<'de> for SlackApiViewsOpenResponse
impl<'de> Deserialize<'de> for SlackApiViewsOpenResponse
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<SlackApiViewsOpenResponseInit> for SlackApiViewsOpenResponse
impl From<SlackApiViewsOpenResponseInit> for SlackApiViewsOpenResponse
Source§fn from(value: SlackApiViewsOpenResponseInit) -> Self
fn from(value: SlackApiViewsOpenResponseInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiViewsOpenResponse
Auto Trait Implementations§
impl Freeze for SlackApiViewsOpenResponse
impl RefUnwindSafe for SlackApiViewsOpenResponse
impl Send for SlackApiViewsOpenResponse
impl Sync for SlackApiViewsOpenResponse
impl Unpin for SlackApiViewsOpenResponse
impl UnsafeUnpin for SlackApiViewsOpenResponse
impl UnwindSafe for SlackApiViewsOpenResponse
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