pub struct CreateTopicOptions {
pub min_active_partitions: i64,
pub partition_count_limit: i64,
pub retention_period: Option<Duration>,
pub retention_storage_mb: i64,
pub supported_codecs: Vec<Codec>,
pub partition_write_speed_bytes_per_second: i64,
pub partition_write_burst_bytes: i64,
pub consumers: Vec<Consumer>,
pub attributes: HashMap<String, String>,
pub metering_mode: Option<MeteringMode>,
}Fields§
§min_active_partitions: i64§partition_count_limit: i64§retention_period: Option<Duration>§retention_storage_mb: i64§supported_codecs: Vec<Codec>§partition_write_speed_bytes_per_second: i64§partition_write_burst_bytes: i64§consumers: Vec<Consumer>§attributes: HashMap<String, String>§metering_mode: Option<MeteringMode>Auto Trait Implementations§
impl Freeze for CreateTopicOptions
impl RefUnwindSafe for CreateTopicOptions
impl Send for CreateTopicOptions
impl Sync for CreateTopicOptions
impl Unpin for CreateTopicOptions
impl UnsafeUnpin for CreateTopicOptions
impl UnwindSafe for CreateTopicOptions
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request