#[non_exhaustive]pub struct DeleteChannelRequest {
pub name: String,
pub validate_only: bool,
/* private fields */
}Expand description
The request message for the DeleteChannel method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the channel to be deleted.
validate_only: boolOptional. If set, validate the request and preview the review, but do not post it.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteChannelRequest
impl Clone for DeleteChannelRequest
Source§fn clone(&self) -> DeleteChannelRequest
fn clone(&self) -> DeleteChannelRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteChannelRequest
impl Debug for DeleteChannelRequest
Source§impl Default for DeleteChannelRequest
impl Default for DeleteChannelRequest
Source§fn default() -> DeleteChannelRequest
fn default() -> DeleteChannelRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteChannelRequest
impl Message for DeleteChannelRequest
Source§impl PartialEq for DeleteChannelRequest
impl PartialEq for DeleteChannelRequest
impl StructuralPartialEq for DeleteChannelRequest
Auto Trait Implementations§
impl Freeze for DeleteChannelRequest
impl RefUnwindSafe for DeleteChannelRequest
impl Send for DeleteChannelRequest
impl Sync for DeleteChannelRequest
impl Unpin for DeleteChannelRequest
impl UnwindSafe for DeleteChannelRequest
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