pub struct MoveChannelRequest {
pub team_id: String,
pub force: Option<bool>,
}
Fields§
§team_id: String
§force: Option<bool>
Remove members those are not member of target team before moving the channel.
Implementations§
Source§impl MoveChannelRequest
impl MoveChannelRequest
pub fn new(team_id: String) -> MoveChannelRequest
Trait Implementations§
Source§impl Clone for MoveChannelRequest
impl Clone for MoveChannelRequest
Source§fn clone(&self) -> MoveChannelRequest
fn clone(&self) -> MoveChannelRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MoveChannelRequest
impl Debug for MoveChannelRequest
Source§impl Default for MoveChannelRequest
impl Default for MoveChannelRequest
Source§fn default() -> MoveChannelRequest
fn default() -> MoveChannelRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MoveChannelRequest
impl<'de> Deserialize<'de> for MoveChannelRequest
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 PartialEq for MoveChannelRequest
impl PartialEq for MoveChannelRequest
Source§impl Serialize for MoveChannelRequest
impl Serialize for MoveChannelRequest
impl StructuralPartialEq for MoveChannelRequest
Auto Trait Implementations§
impl Freeze for MoveChannelRequest
impl RefUnwindSafe for MoveChannelRequest
impl Send for MoveChannelRequest
impl Sync for MoveChannelRequest
impl Unpin for MoveChannelRequest
impl UnwindSafe for MoveChannelRequest
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