#[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: i16The error code, or 0 if there was no error.
Supported API versions: 0-4
log_dir: StrBytesThe absolute log directory path.
Supported API versions: 0-4
topics: Vec<DescribeLogDirsTopic>Each topic.
Supported API versions: 0-4
total_bytes: i64The total size in bytes of the volume the log directory is in.
Supported API versions: 4
usable_bytes: i64The 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
impl Decodable for DescribeLogDirsResult
source§impl Default for DescribeLogDirsResult
impl Default for DescribeLogDirsResult
source§impl Encodable for DescribeLogDirsResult
impl Encodable for DescribeLogDirsResult
source§impl Message for DescribeLogDirsResult
impl Message for DescribeLogDirsResult
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
source§impl PartialEq for DescribeLogDirsResult
impl PartialEq for DescribeLogDirsResult
impl StructuralPartialEq for DescribeLogDirsResult
Auto Trait Implementations§
impl !Freeze for DescribeLogDirsResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)