pub struct CreateTopicsRequest {
pub topics: Vec<CreateTopicRequest>,
pub timeout_ms: Int32,
pub validate_only: Option<Boolean>,
pub tagged_fields: Option<TaggedFields>,
}Fields§
§topics: Vec<CreateTopicRequest>The topics to create
timeout_ms: Int32How long to wait in milliseconds before timing out the request.
validate_only: Option<Boolean>If true, check that the topics can be created as specified, but don’t create anything.
Added in version 1
tagged_fields: Option<TaggedFields>The tagged fields.
Added in version 5
Trait Implementations§
Source§impl Debug for CreateTopicsRequest
impl Debug for CreateTopicsRequest
Source§impl RequestBody for CreateTopicsRequest
impl RequestBody for CreateTopicsRequest
Source§const API_VERSION_RANGE: ApiVersionRange
const API_VERSION_RANGE: ApiVersionRange
Enough for now.
Source§const FIRST_TAGGED_FIELD_IN_REQUEST_VERSION: ApiVersion
const FIRST_TAGGED_FIELD_IN_REQUEST_VERSION: ApiVersion
The first version of the messages (not of the header) that uses tagged fields, if any. Read more
Source§type ResponseBody = CreateTopicsResponse
type ResponseBody = CreateTopicsResponse
The response type that will follow when issuing this request.
Source§const FIRST_TAGGED_FIELD_IN_RESPONSE_VERSION: ApiVersion = Self::FIRST_TAGGED_FIELD_IN_REQUEST_VERSION
const FIRST_TAGGED_FIELD_IN_RESPONSE_VERSION: ApiVersion = Self::FIRST_TAGGED_FIELD_IN_REQUEST_VERSION
Normally the same as
FIRST_TAGGED_FIELD_IN_REQUEST_VERSION but
there are some special snowflakes.Source§impl<W> WriteVersionedType<W> for CreateTopicsRequestwhere
W: Write,
impl<W> WriteVersionedType<W> for CreateTopicsRequestwhere
W: Write,
fn write_versioned( &self, writer: &mut W, version: ApiVersion, ) -> Result<(), WriteVersionedError>
Auto Trait Implementations§
impl Freeze for CreateTopicsRequest
impl RefUnwindSafe for CreateTopicsRequest
impl Send for CreateTopicsRequest
impl Sync for CreateTopicsRequest
impl Unpin for CreateTopicsRequest
impl UnwindSafe for CreateTopicsRequest
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