#[non_exhaustive]pub struct DescribeLogDirsResult {
pub error_code: i16,
pub log_dir: StrBytes,
pub topics: Vec<DescribeLogDirsTopic>,
pub total_bytes: i64,
pub usable_bytes: i64,
pub unknown_tagged_fields: BTreeMap<i32, Vec<u8>>,
}
Expand description
Valid versions: 0-4
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.error_code: i16
The error code, or 0 if there was no error.
Supported API versions: 0-4
log_dir: StrBytes
The absolute log directory path.
Supported API versions: 0-4
topics: Vec<DescribeLogDirsTopic>
Each topic.
Supported API versions: 0-4
total_bytes: i64
The total size in bytes of the volume the log directory is in.
Supported API versions: 4
usable_bytes: i64
The usable size in bytes of the volume the log directory is in.
Supported API versions: 4
unknown_tagged_fields: BTreeMap<i32, Vec<u8>>
Other tagged fields
Trait Implementations§
source§impl Builder for DescribeLogDirsResult
impl Builder for DescribeLogDirsResult
source§impl Clone for DescribeLogDirsResult
impl Clone for DescribeLogDirsResult
source§fn clone(&self) -> DescribeLogDirsResult
fn clone(&self) -> DescribeLogDirsResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescribeLogDirsResult
impl Debug for DescribeLogDirsResult
source§impl Decodable for DescribeLogDirsResult
impl Decodable for DescribeLogDirsResult
source§impl Default for DescribeLogDirsResult
impl Default for DescribeLogDirsResult
source§impl Encodable for DescribeLogDirsResult
impl Encodable for DescribeLogDirsResult
source§fn encode<B: ByteBufMut>(
&self,
buf: &mut B,
version: i16
) -> Result<(), EncodeError>
fn encode<B: ByteBufMut>( &self, buf: &mut B, version: i16 ) -> Result<(), EncodeError>
Encode the message into the target buffer.
source§fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
Compute the total size of the message when encoded.
source§impl Message for DescribeLogDirsResult
impl Message for DescribeLogDirsResult
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
The valid versions for this message.
source§impl PartialEq for DescribeLogDirsResult
impl PartialEq for DescribeLogDirsResult
source§fn eq(&self, other: &DescribeLogDirsResult) -> bool
fn eq(&self, other: &DescribeLogDirsResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeLogDirsResult
Auto Trait Implementations§
impl RefUnwindSafe for DescribeLogDirsResult
impl Send for DescribeLogDirsResult
impl Sync for DescribeLogDirsResult
impl Unpin for DescribeLogDirsResult
impl UnwindSafe for DescribeLogDirsResult
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