[][src]Struct fluvio_protocol_api::RequestHeader

pub struct RequestHeader { /* fields omitted */ }

Implementations

impl RequestHeader[src]

pub fn new(api_key: u16) -> Self[src]

pub fn new_with_client<T>(api_key: u16, client_id: T) -> Self where
    T: Into<String>, 
[src]

pub fn api_key(&self) -> u16[src]

pub fn api_version(&self) -> i16[src]

pub fn set_api_version(&mut self, version: i16) -> &mut Self[src]

pub fn correlation_id(&self) -> i32[src]

pub fn set_correlation_id(&mut self, id: i32) -> &mut Self[src]

pub fn client_id(&self) -> &String[src]

pub fn set_client_id<T>(&mut self, client_id: T) -> &mut Self where
    T: Into<String>, 
[src]

Trait Implementations

impl Debug for RequestHeader[src]

impl Decoder for RequestHeader[src]

impl Default for RequestHeader[src]

impl Display for RequestHeader[src]

impl Encoder for RequestHeader[src]

impl<'_> From<&'_ RequestHeader> for i32[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.