pub enum LazyLoadOptions {
    Disabled,
    Enabled {
        include_redundant_members: bool,
    },
}Expand description
Specifies options for lazy-loading membership events on supported endpoints
Variants
Disabled
Disables lazy-loading of membership events.
Enabled
Fields
include_redundant_members: boolIf true, sends all membership events for all events, even if they have already been
sent to the client.
Defaults to false.
Enables lazy-loading of events.
Implementations
sourceimpl LazyLoadOptions
 
impl LazyLoadOptions
sourcepub fn is_disabled(&self) -> bool
 
pub fn is_disabled(&self) -> bool
Returns true is self is Disabled.
Trait Implementations
sourceimpl Clone for LazyLoadOptions
 
impl Clone for LazyLoadOptions
sourcefn clone(&self) -> LazyLoadOptions
 
fn clone(&self) -> LazyLoadOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LazyLoadOptions
 
impl Debug for LazyLoadOptions
sourceimpl Default for LazyLoadOptions
 
impl Default for LazyLoadOptions
sourcefn default() -> LazyLoadOptions
 
fn default() -> LazyLoadOptions
LazyLoadOptions::Disabled
sourceimpl<'de> Deserialize<'de> for LazyLoadOptions
 
impl<'de> Deserialize<'de> for LazyLoadOptions
sourcefn deserialize<__D>(
    __deserializer: __D
) -> Result<LazyLoadOptions, <__D as Deserializer<'de>>::Error> where
    __D: Deserializer<'de>, 
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<LazyLoadOptions, <__D as Deserializer<'de>>::Error> where
    __D: Deserializer<'de>, 
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<LazyLoadJsonRepr> for LazyLoadOptions
 
impl From<LazyLoadJsonRepr> for LazyLoadOptions
sourcefn from(opts: LazyLoadJsonRepr) -> LazyLoadOptions
 
fn from(opts: LazyLoadJsonRepr) -> LazyLoadOptions
Converts to this type from the input type.
sourceimpl PartialEq<LazyLoadOptions> for LazyLoadOptions
 
impl PartialEq<LazyLoadOptions> for LazyLoadOptions
sourcefn eq(&self, other: &LazyLoadOptions) -> bool
 
fn eq(&self, other: &LazyLoadOptions) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LazyLoadOptions) -> bool
 
fn ne(&self, other: &LazyLoadOptions) -> bool
This method tests for !=.
sourceimpl Serialize for LazyLoadOptions
 
impl Serialize for LazyLoadOptions
sourcefn serialize<S>(
    &self, 
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
    S: Serializer, 
 
fn serialize<S>(
    &self, 
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
    S: Serializer, 
Serialize this value into the given Serde serializer. Read more
impl Copy for LazyLoadOptions
impl Eq for LazyLoadOptions
impl StructuralEq for LazyLoadOptions
impl StructuralPartialEq for LazyLoadOptions
Auto Trait Implementations
impl RefUnwindSafe for LazyLoadOptions
impl Send for LazyLoadOptions
impl Sync for LazyLoadOptions
impl Unpin for LazyLoadOptions
impl UnwindSafe for LazyLoadOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized, 
 
impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized, 
sourcefn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
