pub struct Channel { /* private fields */ }Implementations§
Source§impl Channel
Wrapper around a channel object.
impl Channel
Wrapper around a channel object.
Sourcepub fn from_api_type(rest: RestClient, channel: ChannelApiType) -> Self
pub fn from_api_type(rest: RestClient, channel: ChannelApiType) -> Self
Create a new channel from it’s API type.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Channel
impl !UnwindSafe for Channel
impl Freeze for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnsafeUnpin for Channel
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