#[non_exhaustive]pub struct UpdateFeedRequest {
pub feed: Option<Feed>,
pub update_mask: Option<FieldMask>,
/* private fields */
}Expand description
Update asset feed request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.feed: Option<Feed>Required. The new values of feed details. It must match an existing feed
and the field name must be in the format of:
projects/project_number/feeds/feed_id or
folders/folder_number/feeds/feed_id or
organizations/organization_number/feeds/feed_id.
update_mask: Option<FieldMask>Required. Only updates the feed fields indicated by this mask.
The field mask must not be empty, and it must not contain fields that
are immutable or only set by the server.
Implementations§
Source§impl UpdateFeedRequest
impl UpdateFeedRequest
pub fn new() -> Self
Sourcepub fn set_or_clear_feed<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_feed<T>(self, v: Option<T>) -> Self
Sets or clears the value of feed.
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
Trait Implementations§
Source§impl Clone for UpdateFeedRequest
impl Clone for UpdateFeedRequest
Source§fn clone(&self) -> UpdateFeedRequest
fn clone(&self) -> UpdateFeedRequest
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 Debug for UpdateFeedRequest
impl Debug for UpdateFeedRequest
Source§impl Default for UpdateFeedRequest
impl Default for UpdateFeedRequest
Source§fn default() -> UpdateFeedRequest
fn default() -> UpdateFeedRequest
Returns the “default value” for a type. Read more
Source§impl Message for UpdateFeedRequest
impl Message for UpdateFeedRequest
Source§impl PartialEq for UpdateFeedRequest
impl PartialEq for UpdateFeedRequest
impl StructuralPartialEq for UpdateFeedRequest
Auto Trait Implementations§
impl Freeze for UpdateFeedRequest
impl RefUnwindSafe for UpdateFeedRequest
impl Send for UpdateFeedRequest
impl Sync for UpdateFeedRequest
impl Unpin for UpdateFeedRequest
impl UnwindSafe for UpdateFeedRequest
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