pub struct ValkeyStreamConfig {
pub url: String,
pub stream: String,
pub group: String,
pub consumer: String,
pub block_ms: usize,
}Fields§
§url: String§stream: String§group: String§consumer: String§block_ms: usizeTrait Implementations§
Source§impl Clone for ValkeyStreamConfig
impl Clone for ValkeyStreamConfig
Source§fn clone(&self) -> ValkeyStreamConfig
fn clone(&self) -> ValkeyStreamConfig
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 ValkeyStreamConfig
impl Debug for ValkeyStreamConfig
Source§impl<'de> Deserialize<'de> for ValkeyStreamConfig
impl<'de> Deserialize<'de> for ValkeyStreamConfig
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 ValkeyStreamConfig
impl PartialEq for ValkeyStreamConfig
Source§fn eq(&self, other: &ValkeyStreamConfig) -> bool
fn eq(&self, other: &ValkeyStreamConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValkeyStreamConfig
impl Serialize for ValkeyStreamConfig
impl StructuralPartialEq for ValkeyStreamConfig
Auto Trait Implementations§
impl Freeze for ValkeyStreamConfig
impl RefUnwindSafe for ValkeyStreamConfig
impl Send for ValkeyStreamConfig
impl Sync for ValkeyStreamConfig
impl Unpin for ValkeyStreamConfig
impl UnsafeUnpin for ValkeyStreamConfig
impl UnwindSafe for ValkeyStreamConfig
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