pub struct CreateConsumerParams {
    pub name: String,
    pub format: String,
    pub auto_offset_reset: String,
}Expand description
Params used to create a consumer group and register a consumer Note that kafka/redpanda cleans up consumers that it has not seen in a while
Fields§
§name: String§format: String§auto_offset_reset: StringTrait Implementations§
Source§impl Debug for CreateConsumerParams
 
impl Debug for CreateConsumerParams
Source§impl<'de> Deserialize<'de> for CreateConsumerParams
 
impl<'de> Deserialize<'de> for CreateConsumerParams
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
Auto Trait Implementations§
impl Freeze for CreateConsumerParams
impl RefUnwindSafe for CreateConsumerParams
impl Send for CreateConsumerParams
impl Sync for CreateConsumerParams
impl Unpin for CreateConsumerParams
impl UnwindSafe for CreateConsumerParams
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