pub struct CreateSyncRequest {
pub name: String,
pub project_id: Option<String>,
pub git_path: String,
pub auto_apply: Option<bool>,
pub delete_missing: Option<bool>,
}Expand description
Body for POST /api/v1/syncs.
Fields§
§name: StringDisplay name for this sync.
project_id: Option<String>Linked project id.
git_path: StringPath within the project’s checkout to scan for resource YAMLs.
auto_apply: Option<bool>Whether the sync should automatically apply on pull.
delete_missing: Option<bool>Whether apply should delete resources on the API that are missing
from the manifest directory. Defaults to false (the safer choice).
Trait Implementations§
Source§impl ComposeSchema for CreateSyncRequest
impl ComposeSchema for CreateSyncRequest
Source§impl Debug for CreateSyncRequest
impl Debug for CreateSyncRequest
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 Serialize for CreateSyncRequest
impl Serialize 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