pub struct GatewaySyncMigration {
pub json: Option<bool>,
pub name: String,
pub start_sync: Option<bool>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewaySyncMigration : gatewaySyncMigration is a command that sync migration
Fields§
§json: Option<bool>Set output format to JSON
name: StringMigration name
start_sync: Option<bool>true, for starting synchronization, false for stopping
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl GatewaySyncMigration
impl GatewaySyncMigration
Sourcepub fn new(name: String) -> GatewaySyncMigration
pub fn new(name: String) -> GatewaySyncMigration
gatewaySyncMigration is a command that sync migration
Trait Implementations§
Source§impl Clone for GatewaySyncMigration
impl Clone for GatewaySyncMigration
Source§fn clone(&self) -> GatewaySyncMigration
fn clone(&self) -> GatewaySyncMigration
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 GatewaySyncMigration
impl Debug for GatewaySyncMigration
Source§impl Default for GatewaySyncMigration
impl Default for GatewaySyncMigration
Source§fn default() -> GatewaySyncMigration
fn default() -> GatewaySyncMigration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewaySyncMigration
impl<'de> Deserialize<'de> for GatewaySyncMigration
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 GatewaySyncMigration
impl PartialEq for GatewaySyncMigration
Source§fn eq(&self, other: &GatewaySyncMigration) -> bool
fn eq(&self, other: &GatewaySyncMigration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GatewaySyncMigration
impl Serialize for GatewaySyncMigration
impl StructuralPartialEq for GatewaySyncMigration
Auto Trait Implementations§
impl Freeze for GatewaySyncMigration
impl RefUnwindSafe for GatewaySyncMigration
impl Send for GatewaySyncMigration
impl Sync for GatewaySyncMigration
impl Unpin for GatewaySyncMigration
impl UnsafeUnpin for GatewaySyncMigration
impl UnwindSafe for GatewaySyncMigration
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