pub struct AlterReplicaLogDirsResponseTopic {
pub topic_name: String,
pub partitions: Vec<AlterReplicaLogDirsResponsePartition>,
}Expand description
One topic in an AlterReplicaLogDirs (api 34) response.
Fields§
§topic_name: StringTopic name.
partitions: Vec<AlterReplicaLogDirsResponsePartition>Partitions in this topic.
Implementations§
Source§impl AlterReplicaLogDirsResponseTopic
impl AlterReplicaLogDirsResponseTopic
Sourcepub fn new(
topic_name: impl Into<String>,
partitions: Vec<AlterReplicaLogDirsResponsePartition>,
) -> Self
pub fn new( topic_name: impl Into<String>, partitions: Vec<AlterReplicaLogDirsResponsePartition>, ) -> Self
Construct Self.
Sourcepub fn topic_name(&self) -> &str
pub fn topic_name(&self) -> &str
Topic name.
Sourcepub fn partitions(&self) -> &[AlterReplicaLogDirsResponsePartition]
pub fn partitions(&self) -> &[AlterReplicaLogDirsResponsePartition]
Partitions in this topic.
Trait Implementations§
Source§impl Clone for AlterReplicaLogDirsResponseTopic
impl Clone for AlterReplicaLogDirsResponseTopic
Source§fn clone(&self) -> AlterReplicaLogDirsResponseTopic
fn clone(&self) -> AlterReplicaLogDirsResponseTopic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for AlterReplicaLogDirsResponseTopic
impl StructuralPartialEq for AlterReplicaLogDirsResponseTopic
Auto Trait Implementations§
impl Freeze for AlterReplicaLogDirsResponseTopic
impl RefUnwindSafe for AlterReplicaLogDirsResponseTopic
impl Send for AlterReplicaLogDirsResponseTopic
impl Sync for AlterReplicaLogDirsResponseTopic
impl Unpin for AlterReplicaLogDirsResponseTopic
impl UnsafeUnpin for AlterReplicaLogDirsResponseTopic
impl UnwindSafe for AlterReplicaLogDirsResponseTopic
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