#[non_exhaustive]pub struct EventDrivenSchedule {
pub pubsub_subscription: String,
/* private fields */
}Expand description
Options customizing EventDriven transfers schedule.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pubsub_subscription: StringPub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}
Implementations§
Source§impl EventDrivenSchedule
impl EventDrivenSchedule
pub fn new() -> Self
Sourcepub fn set_pubsub_subscription<T: Into<String>>(self, v: T) -> Self
pub fn set_pubsub_subscription<T: Into<String>>(self, v: T) -> Self
Sets the value of pubsub_subscription.
Trait Implementations§
Source§impl Clone for EventDrivenSchedule
impl Clone for EventDrivenSchedule
Source§fn clone(&self) -> EventDrivenSchedule
fn clone(&self) -> EventDrivenSchedule
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 EventDrivenSchedule
impl Debug for EventDrivenSchedule
Source§impl Default for EventDrivenSchedule
impl Default for EventDrivenSchedule
Source§fn default() -> EventDrivenSchedule
fn default() -> EventDrivenSchedule
Returns the “default value” for a type. Read more
Source§impl Message for EventDrivenSchedule
impl Message for EventDrivenSchedule
Source§impl PartialEq for EventDrivenSchedule
impl PartialEq for EventDrivenSchedule
impl StructuralPartialEq for EventDrivenSchedule
Auto Trait Implementations§
impl Freeze for EventDrivenSchedule
impl RefUnwindSafe for EventDrivenSchedule
impl Send for EventDrivenSchedule
impl Sync for EventDrivenSchedule
impl Unpin for EventDrivenSchedule
impl UnwindSafe for EventDrivenSchedule
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