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
sourceimpl Clone for UpsertCatalogObjectRequest
impl Clone for UpsertCatalogObjectRequest
sourcefn clone(&self) -> UpsertCatalogObjectRequest
fn clone(&self) -> UpsertCatalogObjectRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UpsertCatalogObjectRequest
impl Debug for UpsertCatalogObjectRequest
sourceimpl Default for UpsertCatalogObjectRequest
impl Default for UpsertCatalogObjectRequest
sourcefn default() -> UpsertCatalogObjectRequest
fn default() -> UpsertCatalogObjectRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpsertCatalogObjectRequest> for UpsertCatalogObjectRequest
impl PartialEq<UpsertCatalogObjectRequest> for UpsertCatalogObjectRequest
sourcefn eq(&self, other: &UpsertCatalogObjectRequest) -> bool
fn eq(&self, other: &UpsertCatalogObjectRequest) -> bool
impl Eq for UpsertCatalogObjectRequest
impl StructuralEq for UpsertCatalogObjectRequest
impl StructuralPartialEq for UpsertCatalogObjectRequest
Auto Trait Implementations
impl RefUnwindSafe for UpsertCatalogObjectRequest
impl Send for UpsertCatalogObjectRequest
impl Sync for UpsertCatalogObjectRequest
impl Unpin for UpsertCatalogObjectRequest
impl UnwindSafe for UpsertCatalogObjectRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.