pub struct ViewerSessions(/* private fields */);Expand description
The public wire shape remains an array; in-process publications share rows.
Implementations§
Source§impl ViewerSessions
impl ViewerSessions
pub fn iter( &self, ) -> impl DoubleEndedIterator<Item = &ViewerSession> + ExactSizeIterator
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn push(&mut self, session: ViewerSession)
Trait Implementations§
Source§impl Clone for ViewerSessions
impl Clone for ViewerSessions
Source§impl Debug for ViewerSessions
impl Debug for ViewerSessions
Source§impl Default for ViewerSessions
impl Default for ViewerSessions
Source§impl<'de> Deserialize<'de> for ViewerSessions
impl<'de> Deserialize<'de> for ViewerSessions
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 From<Vec<ViewerSession>> for ViewerSessions
impl From<Vec<ViewerSession>> for ViewerSessions
Source§fn from(rows: Vec<ViewerSession>) -> Self
fn from(rows: Vec<ViewerSession>) -> Self
Converts to this type from the input type.
Source§impl From<ViewerSessions> for Vec<ViewerSession>
impl From<ViewerSessions> for Vec<ViewerSession>
Source§fn from(rows: ViewerSessions) -> Self
fn from(rows: ViewerSessions) -> Self
Converts to this type from the input type.
Source§impl FromIterator<ViewerSession> for ViewerSessions
impl FromIterator<ViewerSession> for ViewerSessions
Source§fn from_iter<T: IntoIterator<Item = ViewerSession>>(rows: T) -> Self
fn from_iter<T: IntoIterator<Item = ViewerSession>>(rows: T) -> Self
Creates a value from an iterator. Read more
Source§impl Index<usize> for ViewerSessions
impl Index<usize> for ViewerSessions
Source§impl IndexMut<usize> for ViewerSessions
impl IndexMut<usize> for ViewerSessions
Source§impl IntoIterator for ViewerSessions
impl IntoIterator for ViewerSessions
Source§impl PartialEq for ViewerSessions
impl PartialEq for ViewerSessions
Source§impl Serialize for ViewerSessions
impl Serialize for ViewerSessions
impl StructuralPartialEq for ViewerSessions
Auto Trait Implementations§
impl Freeze for ViewerSessions
impl RefUnwindSafe for ViewerSessions
impl Send for ViewerSessions
impl Sync for ViewerSessions
impl Unpin for ViewerSessions
impl UnsafeUnpin for ViewerSessions
impl UnwindSafe for ViewerSessions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.