pub struct KfCreateTopicsRequest {
pub topics: Vec<CreatableTopic>,
pub timeout_ms: i32,
pub validate_only: bool,
}
Fields§
§topics: Vec<CreatableTopic>
The topics to create.
timeout_ms: i32
How long to wait in milliseconds before timing out the request.
validate_only: bool
If true, check that the topics can be created as specified, but don’t create anything.
Trait Implementations§
Source§impl Debug for KfCreateTopicsRequest
impl Debug for KfCreateTopicsRequest
Source§impl Decoder for KfCreateTopicsRequest
impl Decoder for KfCreateTopicsRequest
Source§impl Default for KfCreateTopicsRequest
impl Default for KfCreateTopicsRequest
Source§impl<'de> Deserialize<'de> for KfCreateTopicsRequest
impl<'de> Deserialize<'de> for KfCreateTopicsRequest
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 Encoder for KfCreateTopicsRequest
impl Encoder for KfCreateTopicsRequest
Source§impl Request for KfCreateTopicsRequest
impl Request for KfCreateTopicsRequest
const API_KEY: u16 = 19u16
const MIN_API_VERSION: i16 = 0i16
const MAX_API_VERSION: i16 = 3i16
const DEFAULT_API_VERSION: i16 = 3i16
type Response = KfCreateTopicsResponse
Auto Trait Implementations§
impl Freeze for KfCreateTopicsRequest
impl RefUnwindSafe for KfCreateTopicsRequest
impl Send for KfCreateTopicsRequest
impl Sync for KfCreateTopicsRequest
impl Unpin for KfCreateTopicsRequest
impl UnwindSafe for KfCreateTopicsRequest
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