#[non_exhaustive]pub struct StreamObject {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub display_name: String,
pub errors: Vec<Error>,
pub backfill_job: Option<BackfillJob>,
pub source_object: Option<SourceObjectIdentifier>,
/* private fields */
}
Expand description
A specific stream object (e.g a specific DB table).
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.name: String
Output only. Identifier. The object resource’s name.
create_time: Option<Timestamp>
Output only. The creation time of the object.
update_time: Option<Timestamp>
Output only. The last update time of the object.
display_name: String
Required. Display name.
errors: Vec<Error>
Output only. Active errors on the object.
backfill_job: Option<BackfillJob>
The latest backfill job that was initiated for the stream object.
source_object: Option<SourceObjectIdentifier>
The object identifier in the data source.
Implementations§
Source§impl StreamObject
impl StreamObject
pub fn new() -> Self
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
Sourcepub fn set_errors<T, V>(self, v: T) -> Self
pub fn set_errors<T, V>(self, v: T) -> Self
Sets the value of errors.
Sourcepub fn set_backfill_job<T>(self, v: T) -> Selfwhere
T: Into<BackfillJob>,
pub fn set_backfill_job<T>(self, v: T) -> Selfwhere
T: Into<BackfillJob>,
Sets the value of backfill_job.
Sourcepub fn set_or_clear_backfill_job<T>(self, v: Option<T>) -> Selfwhere
T: Into<BackfillJob>,
pub fn set_or_clear_backfill_job<T>(self, v: Option<T>) -> Selfwhere
T: Into<BackfillJob>,
Sets or clears the value of backfill_job.
Sourcepub fn set_source_object<T>(self, v: T) -> Selfwhere
T: Into<SourceObjectIdentifier>,
pub fn set_source_object<T>(self, v: T) -> Selfwhere
T: Into<SourceObjectIdentifier>,
Sets the value of source_object.
Sourcepub fn set_or_clear_source_object<T>(self, v: Option<T>) -> Selfwhere
T: Into<SourceObjectIdentifier>,
pub fn set_or_clear_source_object<T>(self, v: Option<T>) -> Selfwhere
T: Into<SourceObjectIdentifier>,
Sets or clears the value of source_object.
Trait Implementations§
Source§impl Clone for StreamObject
impl Clone for StreamObject
Source§fn clone(&self) -> StreamObject
fn clone(&self) -> StreamObject
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 StreamObject
impl Debug for StreamObject
Source§impl Default for StreamObject
impl Default for StreamObject
Source§fn default() -> StreamObject
fn default() -> StreamObject
Returns the “default value” for a type. Read more
Source§impl Message for StreamObject
impl Message for StreamObject
Source§impl PartialEq for StreamObject
impl PartialEq for StreamObject
impl StructuralPartialEq for StreamObject
Auto Trait Implementations§
impl Freeze for StreamObject
impl RefUnwindSafe for StreamObject
impl Send for StreamObject
impl Sync for StreamObject
impl Unpin for StreamObject
impl UnwindSafe for StreamObject
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