#[non_exhaustive]pub struct AspectSource {
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub data_version: String,
/* private fields */
}Expand description
Information related to the source system of the aspect.
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.create_time: Option<Timestamp>The time the aspect was created in the source system.
update_time: Option<Timestamp>The time the aspect was last updated in the source system.
data_version: StringThe version of the data format used to produce this data. This field is used to indicated when the underlying data format changes (e.g., schema modifications, changes to the source URL format definition, etc).
Implementations§
Source§impl AspectSource
impl AspectSource
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_data_version<T: Into<String>>(self, v: T) -> Self
pub fn set_data_version<T: Into<String>>(self, v: T) -> Self
Sets the value of data_version.
Trait Implementations§
Source§impl Clone for AspectSource
impl Clone for AspectSource
Source§fn clone(&self) -> AspectSource
fn clone(&self) -> AspectSource
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 AspectSource
impl Debug for AspectSource
Source§impl Default for AspectSource
impl Default for AspectSource
Source§fn default() -> AspectSource
fn default() -> AspectSource
Returns the “default value” for a type. Read more
Source§impl Message for AspectSource
impl Message for AspectSource
Source§impl PartialEq for AspectSource
impl PartialEq for AspectSource
impl StructuralPartialEq for AspectSource
Auto Trait Implementations§
impl Freeze for AspectSource
impl RefUnwindSafe for AspectSource
impl Send for AspectSource
impl Sync for AspectSource
impl Unpin for AspectSource
impl UnwindSafe for AspectSource
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