google_cloudevents/google/events/firebase/database/v1/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// This file is @generated by prost-build.
/// The data within all Firebase Real Time Database reference events.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReferenceEventData {
    /// The original data for the reference.
    #[prost(message, optional, tag = "1")]
    pub data: ::core::option::Option<::prost_types::Value>,
    /// The change in the reference data.
    #[prost(message, optional, tag = "2")]
    pub delta: ::core::option::Option<::prost_types::Value>,
}
/// The CloudEvent raised when a ref is created in the Firebase Realtime
/// Database.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReferenceCreatedEvent {
    /// The data associated with the event.
    #[prost(message, optional, tag = "1")]
    pub data: ::core::option::Option<ReferenceEventData>,
}
/// The CloudEvent raised when a reference is updated in the Firebase Realtime
/// Database.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReferenceUpdatedEvent {
    /// The data associated with the event.
    #[prost(message, optional, tag = "1")]
    pub data: ::core::option::Option<ReferenceEventData>,
}
/// The CloudEvent raised when a reference is deleted in the Firebase Realtime
/// Database.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReferenceDeletedEvent {
    /// The data associated with the event.
    #[prost(message, optional, tag = "1")]
    pub data: ::core::option::Option<ReferenceEventData>,
}
/// The CloudEvent raised when a reference is written (created, updated or
/// deleted) in the Firebase Realtime Database.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReferenceWrittenEvent {
    /// The data associated with the event.
    #[prost(message, optional, tag = "1")]
    pub data: ::core::option::Option<ReferenceEventData>,
}