pub struct ChannelPinRequest {
pub user_id: u64,
pub channel_id: u64,
pub pinned: bool,
}Expand description
置顶频道请求
RPC路由: channel/pin
Fields§
§user_id: u64用户ID
channel_id: u64频道ID
pinned: bool是否置顶
Trait Implementations§
Source§impl Clone for ChannelPinRequest
impl Clone for ChannelPinRequest
Source§fn clone(&self) -> ChannelPinRequest
fn clone(&self) -> ChannelPinRequest
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 ChannelPinRequest
impl Debug for ChannelPinRequest
Source§impl<'de> Deserialize<'de> for ChannelPinRequest
impl<'de> Deserialize<'de> for ChannelPinRequest
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
Auto Trait Implementations§
impl Freeze for ChannelPinRequest
impl RefUnwindSafe for ChannelPinRequest
impl Send for ChannelPinRequest
impl Sync for ChannelPinRequest
impl Unpin for ChannelPinRequest
impl UnsafeUnpin for ChannelPinRequest
impl UnwindSafe for ChannelPinRequest
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