Struct DeployMigrationRequest
pub struct DeployMigrationRequest {
pub id: String,
pub checksum: Option<String>,
pub override_hash: Option<String>,
pub statements: Vec<String>,
}Expand description
One private deploy migration after transport parsing. This is deliberately distinct from the
public /v1/sql/migrate request (PublicSqlRequest::Migration): deploy migrations also admit
data-only files and an operator-reviewed checksum override.
Fields§
§id: String§checksum: Option<String>§override_hash: Option<String>§statements: Vec<String>Trait Implementations§
§impl Clone for DeployMigrationRequest
impl Clone for DeployMigrationRequest
§fn clone(&self) -> DeployMigrationRequest
fn clone(&self) -> DeployMigrationRequest
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 more§impl Debug for DeployMigrationRequest
impl Debug for DeployMigrationRequest
§impl PartialEq for DeployMigrationRequest
impl PartialEq for DeployMigrationRequest
impl Eq for DeployMigrationRequest
impl StructuralPartialEq for DeployMigrationRequest
Auto Trait Implementations§
impl Freeze for DeployMigrationRequest
impl RefUnwindSafe for DeployMigrationRequest
impl Send for DeployMigrationRequest
impl Sync for DeployMigrationRequest
impl Unpin for DeployMigrationRequest
impl UnsafeUnpin for DeployMigrationRequest
impl UnwindSafe for DeployMigrationRequest
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.