pub struct RefreshState {
pub refresh_version_id: i64,
pub source_table_states: SourceTables,
pub source_view_states: SourceViews,
}
Expand description
Freshness information of the materialized view
Fields§
§refresh_version_id: i64
The version-id of the materialized view when the refresh operation was performed.
source_table_states: SourceTables
A map from sequence-id (as defined in the view lineage) to the source tables’ snapshot-id of when the last refresh operation was performed.
source_view_states: SourceViews
A map from sequence-id (as defined in the view lineage) to the source views’ version-id of when the last refresh operation was performed.
Trait Implementations§
Source§impl Clone for RefreshState
impl Clone for RefreshState
Source§fn clone(&self) -> RefreshState
fn clone(&self) -> RefreshState
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 RefreshState
impl Debug for RefreshState
Source§impl<'de> Deserialize<'de> for RefreshState
impl<'de> Deserialize<'de> for RefreshState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RefreshState
impl PartialEq for RefreshState
Source§impl Serialize for RefreshState
impl Serialize for RefreshState
impl Eq for RefreshState
impl StructuralPartialEq for RefreshState
Auto Trait Implementations§
impl Freeze for RefreshState
impl RefUnwindSafe for RefreshState
impl Send for RefreshState
impl Sync for RefreshState
impl Unpin for RefreshState
impl UnwindSafe for RefreshState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more