pub struct GcsDestinationConfig {
pub avro_file_format: Option<AvroFileFormat>,
pub file_rotation_interval: Option<Duration>,
pub file_rotation_mb: Option<i32>,
pub json_file_format: Option<JsonFileFormat>,
pub path: Option<String>,
}
Expand description
Google Cloud Storage destination configuration
This type is not used in any activity, and only used as part of another schema.
Fields§
§avro_file_format: Option<AvroFileFormat>
AVRO file format configuration.
file_rotation_interval: Option<Duration>
The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.
file_rotation_mb: Option<i32>
The maximum file size to be saved in the bucket.
json_file_format: Option<JsonFileFormat>
JSON file format configuration.
path: Option<String>
Path inside the Cloud Storage bucket to write data to.
Trait Implementations§
Source§impl Clone for GcsDestinationConfig
impl Clone for GcsDestinationConfig
Source§fn clone(&self) -> GcsDestinationConfig
fn clone(&self) -> GcsDestinationConfig
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 GcsDestinationConfig
impl Debug for GcsDestinationConfig
Source§impl Default for GcsDestinationConfig
impl Default for GcsDestinationConfig
Source§fn default() -> GcsDestinationConfig
fn default() -> GcsDestinationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GcsDestinationConfig
impl<'de> Deserialize<'de> for GcsDestinationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GcsDestinationConfig
impl Serialize for GcsDestinationConfig
impl Part for GcsDestinationConfig
Auto Trait Implementations§
impl Freeze for GcsDestinationConfig
impl RefUnwindSafe for GcsDestinationConfig
impl Send for GcsDestinationConfig
impl Sync for GcsDestinationConfig
impl Unpin for GcsDestinationConfig
impl UnwindSafe for GcsDestinationConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more