#[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, Bytes>,
}
Expand description
Valid versions: 0-4
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
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, Bytes>
Other tagged fields
Implementations§
Source§impl DescribeLogDirsResult
impl DescribeLogDirsResult
Sourcepub fn with_error_code(self, value: i16) -> Self
pub fn with_error_code(self, value: i16) -> Self
Sets error_code
to the passed value.
The error code, or 0 if there was no error.
Supported API versions: 0-4
Sourcepub fn with_log_dir(self, value: StrBytes) -> Self
pub fn with_log_dir(self, value: StrBytes) -> Self
Sets log_dir
to the passed value.
The absolute log directory path.
Supported API versions: 0-4
Sourcepub fn with_topics(self, value: Vec<DescribeLogDirsTopic>) -> Self
pub fn with_topics(self, value: Vec<DescribeLogDirsTopic>) -> Self
Sets topics
to the passed value.
Each topic.
Supported API versions: 0-4
Sourcepub fn with_total_bytes(self, value: i64) -> Self
pub fn with_total_bytes(self, value: i64) -> Self
Sets total_bytes
to the passed value.
The total size in bytes of the volume the log directory is in.
Supported API versions: 4
Sourcepub fn with_usable_bytes(self, value: i64) -> Self
pub fn with_usable_bytes(self, value: i64) -> Self
Sets usable_bytes
to the passed value.
The usable size in bytes of the volume the log directory is in.
Supported API versions: 4
Sourcepub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
pub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
Sets unknown_tagged_fields to the passed value.
Sourcepub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
pub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
Inserts an entry into unknown_tagged_fields.
Trait Implementations§
Source§impl Clone for DescribeLogDirsResult
impl Clone for DescribeLogDirsResult
Source§fn clone(&self) -> DescribeLogDirsResult
fn clone(&self) -> DescribeLogDirsResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DescribeLogDirsResult
impl Debug for DescribeLogDirsResult
Source§impl Decodable for DescribeLogDirsResult
Available on crate feature client
only.
impl Decodable for DescribeLogDirsResult
client
only.Source§impl Default for DescribeLogDirsResult
impl Default for DescribeLogDirsResult
Source§impl Encodable for DescribeLogDirsResult
Available on crate feature broker
only.
impl Encodable for DescribeLogDirsResult
broker
only.