pub struct UploadEntityDefinitionsRequest {
pub deprecate_existing_entities: Option<bool>,
pub document: Option<DefinitionDocument>,
pub sync_with_public_namespace: Option<bool>,
}
Fields§
§deprecate_existing_entities: Option<bool>
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument
. If set to true
, the upload will create a new namespace version.
document: Option<DefinitionDocument>
The DefinitionDocument
that defines the updated entities.
sync_with_public_namespace: Option<bool>
A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true
, the upload will create a new namespace version.
Trait Implementations§
Source§impl Clone for UploadEntityDefinitionsRequest
impl Clone for UploadEntityDefinitionsRequest
Source§fn clone(&self) -> UploadEntityDefinitionsRequest
fn clone(&self) -> UploadEntityDefinitionsRequest
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 Default for UploadEntityDefinitionsRequest
impl Default for UploadEntityDefinitionsRequest
Source§fn default() -> UploadEntityDefinitionsRequest
fn default() -> UploadEntityDefinitionsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UploadEntityDefinitionsRequest
impl PartialEq for UploadEntityDefinitionsRequest
Source§fn eq(&self, other: &UploadEntityDefinitionsRequest) -> bool
fn eq(&self, other: &UploadEntityDefinitionsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UploadEntityDefinitionsRequest
Auto Trait Implementations§
impl Freeze for UploadEntityDefinitionsRequest
impl RefUnwindSafe for UploadEntityDefinitionsRequest
impl Send for UploadEntityDefinitionsRequest
impl Sync for UploadEntityDefinitionsRequest
impl Unpin for UploadEntityDefinitionsRequest
impl UnwindSafe for UploadEntityDefinitionsRequest
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