pub struct TargetSetupStateCommon {
pub target_id: i32,
pub schema_version_id: usize,
pub max_schema_version_id: usize,
pub setup_by_user: bool,
pub key_type: Option<Box<[ValueType]>>,
}Expand description
Common state (i.e. not specific to a target kind) for a target.
Fields§
§target_id: i32§schema_version_id: usizeschema_version_id indicates if a previous exported target row (as tracked by the tracking table) is possible to be reused without re-exporting the row, on the exported values don’t change.
Note that sometimes even if exported values don’t change, the target row may still need to be re-exported, for example, a column is dropped then added back (which has data loss in between).
max_schema_version_id: usize§setup_by_user: bool§key_type: Option<Box<[ValueType]>>Trait Implementations§
Source§impl Clone for TargetSetupStateCommon
impl Clone for TargetSetupStateCommon
Source§fn clone(&self) -> TargetSetupStateCommon
fn clone(&self) -> TargetSetupStateCommon
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 TargetSetupStateCommon
impl Debug for TargetSetupStateCommon
Source§impl<'de> Deserialize<'de> for TargetSetupStateCommon
impl<'de> Deserialize<'de> for TargetSetupStateCommon
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 TargetSetupStateCommon
impl PartialEq for TargetSetupStateCommon
Source§impl Serialize for TargetSetupStateCommon
impl Serialize for TargetSetupStateCommon
impl StructuralPartialEq for TargetSetupStateCommon
Auto Trait Implementations§
impl Freeze for TargetSetupStateCommon
impl RefUnwindSafe for TargetSetupStateCommon
impl Send for TargetSetupStateCommon
impl Sync for TargetSetupStateCommon
impl Unpin for TargetSetupStateCommon
impl UnwindSafe for TargetSetupStateCommon
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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