pub struct InstancePostTarget {
pub certificate: Option<String>,
pub operation: Option<String>,
pub secrets: Option<HashMap<String, String>>,
}Fields§
§certificate: Option<String>The certificate of the migration target
operation: Option<String>The operation URL on the remote target
secrets: Option<HashMap<String, String>>Migration websockets credentials
Implementations§
Source§impl InstancePostTarget
impl InstancePostTarget
pub fn new() -> InstancePostTarget
Trait Implementations§
Source§impl Clone for InstancePostTarget
impl Clone for InstancePostTarget
Source§fn clone(&self) -> InstancePostTarget
fn clone(&self) -> InstancePostTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstancePostTarget
impl Debug for InstancePostTarget
Source§impl Default for InstancePostTarget
impl Default for InstancePostTarget
Source§fn default() -> InstancePostTarget
fn default() -> InstancePostTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstancePostTarget
impl<'de> Deserialize<'de> for InstancePostTarget
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 InstancePostTarget
impl PartialEq for InstancePostTarget
Source§fn eq(&self, other: &InstancePostTarget) -> bool
fn eq(&self, other: &InstancePostTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InstancePostTarget
impl Serialize for InstancePostTarget
impl StructuralPartialEq for InstancePostTarget
Auto Trait Implementations§
impl Freeze for InstancePostTarget
impl RefUnwindSafe for InstancePostTarget
impl Send for InstancePostTarget
impl Sync for InstancePostTarget
impl Unpin for InstancePostTarget
impl UnsafeUnpin for InstancePostTarget
impl UnwindSafe for InstancePostTarget
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