pub struct RoomPowerLevels { /* private fields */ }
Implementations§
Source§impl RoomPowerLevels
impl RoomPowerLevels
pub fn news(&self) -> Option<i64>
pub fn news_key(&self) -> String
pub fn stories(&self) -> Option<i64>
pub fn stories_key(&self) -> String
pub fn events(&self) -> Option<i64>
pub fn events_key(&self) -> String
pub fn task_lists(&self) -> Option<i64>
pub fn task_lists_key(&self) -> String
pub fn tasks(&self) -> Option<i64>
pub fn tasks_key(&self) -> String
pub fn pins(&self) -> Option<i64>
pub fn pins_key(&self) -> String
pub fn comments(&self) -> Option<i64>
pub fn comments_key(&self) -> String
pub fn attachments(&self) -> Option<i64>
pub fn attachments_key(&self) -> String
pub fn rsvp(&self) -> Option<i64>
pub fn rsvp_key(&self) -> String
pub fn events_default(&self) -> i64
pub fn users_default(&self) -> i64
pub fn max_power_level(&self) -> i64
pub fn kick(&self) -> i64
pub fn ban(&self) -> i64
pub fn invite(&self) -> i64
pub fn redact(&self) -> i64
Auto Trait Implementations§
impl Freeze for RoomPowerLevels
impl RefUnwindSafe for RoomPowerLevels
impl Send for RoomPowerLevels
impl Sync for RoomPowerLevels
impl Unpin for RoomPowerLevels
impl UnwindSafe for RoomPowerLevels
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
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more