pub struct StreamCachingConfig {
pub threshold: usize,
}Fields§
§threshold: usizeTrait Implementations§
Source§impl Clone for StreamCachingConfig
impl Clone for StreamCachingConfig
Source§fn clone(&self) -> StreamCachingConfig
fn clone(&self) -> StreamCachingConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamCachingConfig
impl Debug for StreamCachingConfig
Source§impl Default for StreamCachingConfig
impl Default for StreamCachingConfig
Source§impl<'de> Deserialize<'de> for StreamCachingConfig
impl<'de> Deserialize<'de> for StreamCachingConfig
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 PartialEq for StreamCachingConfig
impl PartialEq for StreamCachingConfig
Source§fn eq(&self, other: &StreamCachingConfig) -> bool
fn eq(&self, other: &StreamCachingConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamCachingConfig
impl Serialize for StreamCachingConfig
impl StructuralPartialEq for StreamCachingConfig
Auto Trait Implementations§
impl Freeze for StreamCachingConfig
impl RefUnwindSafe for StreamCachingConfig
impl Send for StreamCachingConfig
impl Sync for StreamCachingConfig
impl Unpin for StreamCachingConfig
impl UnsafeUnpin for StreamCachingConfig
impl UnwindSafe for StreamCachingConfig
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