pub struct CreateSyncRequest {
pub integration: String,
pub data: Value,
pub import_option: Option<String>,
pub await_initial_sync: Option<bool>,
}Expand description
CreateSyncRequest
Fields§
§integration: StringThe integration slug which the sync will use
data: ValueConfiguration data for the sync
import_option: Option<String>An option indicating if and how Doppler should attempt to import secrets from the sync destination An option indicating if and how Doppler should attempt to import secrets from the sync destination An option indicating if and how Doppler should attempt to import secrets from the sync destination An option indicating if and how Doppler should attempt to import secrets from the sync destination
await_initial_sync: Option<bool>Causes sync creation to wait for the initial sync to complete before returning.
Implementations§
Source§impl CreateSyncRequest
impl CreateSyncRequest
pub fn new(integration: String, data: Value) -> CreateSyncRequest
Trait Implementations§
Source§impl Clone for CreateSyncRequest
impl Clone for CreateSyncRequest
Source§fn clone(&self) -> CreateSyncRequest
fn clone(&self) -> CreateSyncRequest
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 CreateSyncRequest
impl Debug for CreateSyncRequest
Source§impl Default for CreateSyncRequest
impl Default for CreateSyncRequest
Source§fn default() -> CreateSyncRequest
fn default() -> CreateSyncRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateSyncRequest
impl<'de> Deserialize<'de> for CreateSyncRequest
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 CreateSyncRequest
impl PartialEq for CreateSyncRequest
Source§impl Serialize for CreateSyncRequest
impl Serialize for CreateSyncRequest
impl StructuralPartialEq for CreateSyncRequest
Auto Trait Implementations§
impl Freeze for CreateSyncRequest
impl RefUnwindSafe for CreateSyncRequest
impl Send for CreateSyncRequest
impl Sync for CreateSyncRequest
impl Unpin for CreateSyncRequest
impl UnsafeUnpin for CreateSyncRequest
impl UnwindSafe for CreateSyncRequest
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