pub struct ProgramDiff {
pub added_tables: Vec<String>,
pub added_views: Vec<String>,
pub modified_tables: Vec<String>,
pub modified_views: Vec<String>,
pub removed_tables: Vec<String>,
pub removed_views: Vec<String>,
}Expand description
Summary of changes in the program between checkpointed and new versions.
JSON schema
{
"description": "Summary of changes in the program between checkpointed and new versions.",
"type": "object",
"required": [
"added_tables",
"added_views",
"modified_tables",
"modified_views",
"removed_tables",
"removed_views"
],
"properties": {
"added_tables": {
"type": "array",
"items": {
"type": "string"
}
},
"added_views": {
"type": "array",
"items": {
"type": "string"
}
},
"modified_tables": {
"type": "array",
"items": {
"type": "string"
}
},
"modified_views": {
"type": "array",
"items": {
"type": "string"
}
},
"removed_tables": {
"type": "array",
"items": {
"type": "string"
}
},
"removed_views": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§added_tables: Vec<String>§added_views: Vec<String>§modified_tables: Vec<String>§modified_views: Vec<String>§removed_tables: Vec<String>§removed_views: Vec<String>Implementations§
Source§impl ProgramDiff
impl ProgramDiff
pub fn builder() -> ProgramDiff
Trait Implementations§
Source§impl Clone for ProgramDiff
impl Clone for ProgramDiff
Source§fn clone(&self) -> ProgramDiff
fn clone(&self) -> ProgramDiff
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 ProgramDiff
impl Debug for ProgramDiff
Source§impl<'de> Deserialize<'de> for ProgramDiff
impl<'de> Deserialize<'de> for ProgramDiff
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 From<&ProgramDiff> for ProgramDiff
impl From<&ProgramDiff> for ProgramDiff
Source§fn from(value: &ProgramDiff) -> Self
fn from(value: &ProgramDiff) -> Self
Converts to this type from the input type.
Source§impl From<ProgramDiff> for ProgramDiff
impl From<ProgramDiff> for ProgramDiff
Source§fn from(value: ProgramDiff) -> Self
fn from(value: ProgramDiff) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProgramDiff
impl Serialize for ProgramDiff
Source§impl TryFrom<ProgramDiff> for ProgramDiff
impl TryFrom<ProgramDiff> for ProgramDiff
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProgramDiff) -> Result<Self, ConversionError>
fn try_from(value: ProgramDiff) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProgramDiff
impl RefUnwindSafe for ProgramDiff
impl Send for ProgramDiff
impl Sync for ProgramDiff
impl Unpin for ProgramDiff
impl UnwindSafe for ProgramDiff
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