pub struct LoggingGcsCommon {
pub user: Option<String>,
pub secret_key: Option<String>,
pub account_name: Option<String>,
}
Fields§
§user: Option<String>
Your Google Cloud Platform service account email address. The client_email
field in your service account authentication JSON. Not required if account_name
is specified.
secret_key: Option<String>
Your Google Cloud Platform account secret key. The private_key
field in your service account authentication JSON. Not required if account_name
is specified.
account_name: Option<String>
The name of the Google Cloud Platform service account associated with the target log collection service. Not required if user
and secret_key
are provided.
Implementations§
Source§impl LoggingGcsCommon
impl LoggingGcsCommon
pub fn new() -> LoggingGcsCommon
Trait Implementations§
Source§impl Clone for LoggingGcsCommon
impl Clone for LoggingGcsCommon
Source§fn clone(&self) -> LoggingGcsCommon
fn clone(&self) -> LoggingGcsCommon
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 LoggingGcsCommon
impl Debug for LoggingGcsCommon
Source§impl Default for LoggingGcsCommon
impl Default for LoggingGcsCommon
Source§fn default() -> LoggingGcsCommon
fn default() -> LoggingGcsCommon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingGcsCommon
impl<'de> Deserialize<'de> for LoggingGcsCommon
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 LoggingGcsCommon
impl PartialEq for LoggingGcsCommon
Source§impl Serialize for LoggingGcsCommon
impl Serialize for LoggingGcsCommon
impl StructuralPartialEq for LoggingGcsCommon
Auto Trait Implementations§
impl Freeze for LoggingGcsCommon
impl RefUnwindSafe for LoggingGcsCommon
impl Send for LoggingGcsCommon
impl Sync for LoggingGcsCommon
impl Unpin for LoggingGcsCommon
impl UnwindSafe for LoggingGcsCommon
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