pub struct PlatformSourceConfigDto {
pub redis_url: ConfigValue<String>,
pub stream_key: ConfigValue<String>,
pub consumer_group: ConfigValue<String>,
pub consumer_name: Option<ConfigValue<String>>,
pub batch_size: ConfigValue<usize>,
pub block_ms: ConfigValue<u64>,
}Expand description
Platform source configuration DTO.
Fields§
§redis_url: ConfigValue<String>§stream_key: ConfigValue<String>§consumer_group: ConfigValue<String>§consumer_name: Option<ConfigValue<String>>§batch_size: ConfigValue<usize>§block_ms: ConfigValue<u64>Trait Implementations§
Source§impl Clone for PlatformSourceConfigDto
impl Clone for PlatformSourceConfigDto
Source§fn clone(&self) -> PlatformSourceConfigDto
fn clone(&self) -> PlatformSourceConfigDto
Returns a duplicate of the value. Read more
1.0.0 · 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 PlatformSourceConfigDto
impl Debug for PlatformSourceConfigDto
Source§impl<'de> Deserialize<'de> for PlatformSourceConfigDto
impl<'de> Deserialize<'de> for PlatformSourceConfigDto
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 PlatformSourceConfigDto
impl PartialEq for PlatformSourceConfigDto
Source§impl Serialize for PlatformSourceConfigDto
impl Serialize for PlatformSourceConfigDto
Source§impl<'__s> ToSchema<'__s> for PlatformSourceConfigDto
impl<'__s> ToSchema<'__s> for PlatformSourceConfigDto
impl StructuralPartialEq for PlatformSourceConfigDto
Auto Trait Implementations§
impl Freeze for PlatformSourceConfigDto
impl RefUnwindSafe for PlatformSourceConfigDto
impl Send for PlatformSourceConfigDto
impl Sync for PlatformSourceConfigDto
impl Unpin for PlatformSourceConfigDto
impl UnsafeUnpin for PlatformSourceConfigDto
impl UnwindSafe for PlatformSourceConfigDto
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