pub struct LoggingGooglePubsubAdditional {
pub topic: Option<String>,
pub format: Option<String>,
pub project_id: Option<String>,
}
Fields§
§topic: Option<String>
The Google Cloud Pub/Sub topic to which logs will be published. Required.
format: Option<String>
A Fastly log format string.
project_id: Option<String>
Your Google Cloud Platform project ID. Required
Implementations§
Trait Implementations§
Source§impl Clone for LoggingGooglePubsubAdditional
impl Clone for LoggingGooglePubsubAdditional
Source§fn clone(&self) -> LoggingGooglePubsubAdditional
fn clone(&self) -> LoggingGooglePubsubAdditional
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 Default for LoggingGooglePubsubAdditional
impl Default for LoggingGooglePubsubAdditional
Source§fn default() -> LoggingGooglePubsubAdditional
fn default() -> LoggingGooglePubsubAdditional
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingGooglePubsubAdditional
impl<'de> Deserialize<'de> for LoggingGooglePubsubAdditional
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 LoggingGooglePubsubAdditional
impl PartialEq for LoggingGooglePubsubAdditional
Source§fn eq(&self, other: &LoggingGooglePubsubAdditional) -> bool
fn eq(&self, other: &LoggingGooglePubsubAdditional) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LoggingGooglePubsubAdditional
Auto Trait Implementations§
impl Freeze for LoggingGooglePubsubAdditional
impl RefUnwindSafe for LoggingGooglePubsubAdditional
impl Send for LoggingGooglePubsubAdditional
impl Sync for LoggingGooglePubsubAdditional
impl Unpin for LoggingGooglePubsubAdditional
impl UnwindSafe for LoggingGooglePubsubAdditional
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