pub struct UpsertCatalogObjectRequest {
pub idempotency_key: String,
pub object: CatalogObject,
}
Expand description
This is a model struct for UpsertCatalogObjectRequest type.
Fields§
§idempotency_key: String
A value you specify that uniquely identifies this request among all your requests. A common way to create a valid idempotency key is to use a Universally unique identifier (UUID).
If you’re unsure whether a particular request was successful, you can reattempt it with the same idempotency key without worrying about creating duplicate objects.
See Idempotency for more information.
object: CatalogObject
A CatalogObject to be created or updated.
- For updates, the object must be active (the
is_deleted
field is nottrue
). - For creates, the object ID must start with
#
. The provided ID is replaced with a server-generated ID.
Trait Implementations§
Source§impl Clone for UpsertCatalogObjectRequest
impl Clone for UpsertCatalogObjectRequest
Source§fn clone(&self) -> UpsertCatalogObjectRequest
fn clone(&self) -> UpsertCatalogObjectRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpsertCatalogObjectRequest
impl Debug for UpsertCatalogObjectRequest
Source§impl Default for UpsertCatalogObjectRequest
impl Default for UpsertCatalogObjectRequest
Source§fn default() -> UpsertCatalogObjectRequest
fn default() -> UpsertCatalogObjectRequest
Returns the “default value” for a type. Read more
impl Eq for UpsertCatalogObjectRequest
impl StructuralPartialEq for UpsertCatalogObjectRequest
Auto Trait Implementations§
impl Freeze for UpsertCatalogObjectRequest
impl RefUnwindSafe for UpsertCatalogObjectRequest
impl Send for UpsertCatalogObjectRequest
impl Sync for UpsertCatalogObjectRequest
impl Unpin for UpsertCatalogObjectRequest
impl UnwindSafe for UpsertCatalogObjectRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.