Struct rslack::slack::SlackChannels
source · pub struct SlackChannels {
pub channels: Vec<SlackChannel>,
}
Fields§
§channels: Vec<SlackChannel>
Implementations§
source§impl SlackChannels
impl SlackChannels
pub fn len(&self) -> usize
pub fn channel_names(&self) -> Vec<&str>
pub fn max_channel_size(&self) -> usize
Trait Implementations§
source§impl From<Vec<SlackChannel>> for SlackChannels
impl From<Vec<SlackChannel>> for SlackChannels
source§fn from(channels: Vec<SlackChannel>) -> Self
fn from(channels: Vec<SlackChannel>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SlackChannels
impl Send for SlackChannels
impl Sync for SlackChannels
impl Unpin for SlackChannels
impl UnwindSafe for SlackChannels
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