Struct google_recommender1_beta1::api::GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
source · pub struct GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest {
pub etag: Option<String>,
pub state_metadata: Option<HashMap<String, String>>,
}
Expand description
Request for the MarkRecommendationClaimed
Method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§etag: Option<String>
Required. Fingerprint of the Recommendation. Provides optimistic locking.
state_metadata: Option<HashMap<String, String>>
State properties to include with this state. Overwrites any existing state_metadata
. Keys must match the regex /^a-z0-9{0,62}$/
. Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/
.
Trait Implementations§
source§impl Clone for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
impl Clone for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
source§fn clone(&self) -> GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
fn clone(&self) -> GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
Returns a copy 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 GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
impl Default for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
source§fn default() -> GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
fn default() -> GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
impl<'de> Deserialize<'de> for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
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
impl RequestValue for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
impl Send for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
impl Sync for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
impl Unpin for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
impl UnwindSafe for GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest
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