pub struct TargetObjectKeyFormat {
pub partitioned_prefix: Option<PartitionedPrefix>,
pub simple_prefix: Option<SimplePrefix>,
}Expand description
Amazon S3 key format for log objects. Only one format, PartitionedPrefix or SimplePrefix, is allowed.
Fields§
§partitioned_prefix: Option<PartitionedPrefix>Partitioned S3 key for log objects.
simple_prefix: Option<SimplePrefix>To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
Trait Implementations§
Source§impl Clone for TargetObjectKeyFormat
impl Clone for TargetObjectKeyFormat
Source§fn clone(&self) -> TargetObjectKeyFormat
fn clone(&self) -> TargetObjectKeyFormat
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 moreSource§impl Debug for TargetObjectKeyFormat
impl Debug for TargetObjectKeyFormat
Source§impl Default for TargetObjectKeyFormat
impl Default for TargetObjectKeyFormat
Source§fn default() -> TargetObjectKeyFormat
fn default() -> TargetObjectKeyFormat
Returns the “default value” for a type. Read more
Source§impl<'xml> DeserializeContent<'xml> for TargetObjectKeyFormat
Available on crate feature minio only.
impl<'xml> DeserializeContent<'xml> for TargetObjectKeyFormat
Available on crate feature
minio only.Source§fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
Deserializes the content of the data type Read more
Source§impl DtoExt for TargetObjectKeyFormat
impl DtoExt for TargetObjectKeyFormat
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Modifies all empty string fields from
Some("") to NoneSource§impl PartialEq for TargetObjectKeyFormat
impl PartialEq for TargetObjectKeyFormat
Source§fn eq(&self, other: &TargetObjectKeyFormat) -> bool
fn eq(&self, other: &TargetObjectKeyFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SerializeContent for TargetObjectKeyFormat
Available on crate feature minio only.
impl SerializeContent for TargetObjectKeyFormat
Available on crate feature
minio only.Source§fn serialize_content<W: Write>(&self, s: &mut Serializer<W>) -> SerResult
fn serialize_content<W: Write>(&self, s: &mut Serializer<W>) -> SerResult
Serializes the content of the data type Read more
impl StructuralPartialEq for TargetObjectKeyFormat
Auto Trait Implementations§
impl Freeze for TargetObjectKeyFormat
impl RefUnwindSafe for TargetObjectKeyFormat
impl Send for TargetObjectKeyFormat
impl Sync for TargetObjectKeyFormat
impl Unpin for TargetObjectKeyFormat
impl UnsafeUnpin for TargetObjectKeyFormat
impl UnwindSafe for TargetObjectKeyFormat
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