pub struct SendMigrationData {
pub destination_url: String,
pub local: Option<bool>,
}
Fields§
§destination_url: String
§local: Option<bool>
Implementations§
Source§impl SendMigrationData
impl SendMigrationData
pub fn new(destination_url: String) -> SendMigrationData
Trait Implementations§
Source§impl Clone for SendMigrationData
impl Clone for SendMigrationData
Source§fn clone(&self) -> SendMigrationData
fn clone(&self) -> SendMigrationData
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 SendMigrationData
impl Debug for SendMigrationData
Source§impl Default for SendMigrationData
impl Default for SendMigrationData
Source§fn default() -> SendMigrationData
fn default() -> SendMigrationData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendMigrationData
impl<'de> Deserialize<'de> for SendMigrationData
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 SendMigrationData
impl PartialEq for SendMigrationData
Source§impl Serialize for SendMigrationData
impl Serialize for SendMigrationData
impl StructuralPartialEq for SendMigrationData
Auto Trait Implementations§
impl Freeze for SendMigrationData
impl RefUnwindSafe for SendMigrationData
impl Send for SendMigrationData
impl Sync for SendMigrationData
impl Unpin for SendMigrationData
impl UnwindSafe for SendMigrationData
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