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