pub struct UndeliverableFirstGenEvent {
pub message: String,
pub reason: i32,
pub document_name: String,
pub document_change_type: i32,
pub function_name: Vec<String>,
pub triggered_time: Option<Timestamp>,
}
Expand description
A message signifying an event that cannot be delivered to Cloud Functions from Firestore using Cloud Firestore triggers 1st gen
Fields§
§message: String
Error message for events being undeliverable.
reason: i32
Reason for events being undeliverable.
document_name: String
The resource name of the changed document, in the format of
projects/{projectId}/databases/{databaseId}/documents/{document_path}
.
document_change_type: i32
The type of the document change.
function_name: Vec<String>
The names of the functions that were supposed to be triggered.
triggered_time: Option<Timestamp>
The commit time of triggered write operation.
Implementations§
source§impl UndeliverableFirstGenEvent
impl UndeliverableFirstGenEvent
sourcepub fn reason(&self) -> Reason
pub fn reason(&self) -> Reason
Returns the enum value of reason
, or the default if the field is set to an invalid enum value.
sourcepub fn set_reason(&mut self, value: Reason)
pub fn set_reason(&mut self, value: Reason)
Sets reason
to the provided enum value.
sourcepub fn document_change_type(&self) -> DocumentChangeType
pub fn document_change_type(&self) -> DocumentChangeType
Returns the enum value of document_change_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_document_change_type(&mut self, value: DocumentChangeType)
pub fn set_document_change_type(&mut self, value: DocumentChangeType)
Sets document_change_type
to the provided enum value.
Trait Implementations§
source§impl Clone for UndeliverableFirstGenEvent
impl Clone for UndeliverableFirstGenEvent
source§fn clone(&self) -> UndeliverableFirstGenEvent
fn clone(&self) -> UndeliverableFirstGenEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UndeliverableFirstGenEvent
impl Debug for UndeliverableFirstGenEvent
source§impl Default for UndeliverableFirstGenEvent
impl Default for UndeliverableFirstGenEvent
source§impl Message for UndeliverableFirstGenEvent
impl Message for UndeliverableFirstGenEvent
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for UndeliverableFirstGenEvent
impl PartialEq for UndeliverableFirstGenEvent
source§fn eq(&self, other: &UndeliverableFirstGenEvent) -> bool
fn eq(&self, other: &UndeliverableFirstGenEvent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UndeliverableFirstGenEvent
Auto Trait Implementations§
impl Freeze for UndeliverableFirstGenEvent
impl RefUnwindSafe for UndeliverableFirstGenEvent
impl Send for UndeliverableFirstGenEvent
impl Sync for UndeliverableFirstGenEvent
impl Unpin for UndeliverableFirstGenEvent
impl UnwindSafe for UndeliverableFirstGenEvent
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request