pub struct GoogleCloudStorageConfig {
pub bucket: String,
pub credentials: String,
}
Expand description
GoogleCloudStorageConfig : Configuration for a Google Cloud Storage sink. Write stream events into the named bucket using the supplied Google Cloud credentials.
Fields§
§bucket: String
§credentials: String
Google Cloud Credentials JSON Object as a string.
Implementations§
Source§impl GoogleCloudStorageConfig
impl GoogleCloudStorageConfig
Sourcepub fn new(bucket: String, credentials: String) -> GoogleCloudStorageConfig
pub fn new(bucket: String, credentials: String) -> GoogleCloudStorageConfig
Configuration for a Google Cloud Storage sink. Write stream events into the named bucket using the supplied Google Cloud credentials.
Trait Implementations§
Source§impl Clone for GoogleCloudStorageConfig
impl Clone for GoogleCloudStorageConfig
Source§fn clone(&self) -> GoogleCloudStorageConfig
fn clone(&self) -> GoogleCloudStorageConfig
Returns a duplicate 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 GoogleCloudStorageConfig
impl Debug for GoogleCloudStorageConfig
Source§impl Default for GoogleCloudStorageConfig
impl Default for GoogleCloudStorageConfig
Source§fn default() -> GoogleCloudStorageConfig
fn default() -> GoogleCloudStorageConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudStorageConfig
impl<'de> Deserialize<'de> for GoogleCloudStorageConfig
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 PartialEq for GoogleCloudStorageConfig
impl PartialEq for GoogleCloudStorageConfig
Source§impl Serialize for GoogleCloudStorageConfig
impl Serialize for GoogleCloudStorageConfig
impl StructuralPartialEq for GoogleCloudStorageConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudStorageConfig
impl RefUnwindSafe for GoogleCloudStorageConfig
impl Send for GoogleCloudStorageConfig
impl Sync for GoogleCloudStorageConfig
impl Unpin for GoogleCloudStorageConfig
impl UnwindSafe for GoogleCloudStorageConfig
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