#[non_exhaustive]pub struct CreateFeedRequest {
pub parent: String,
pub feed_id: String,
pub feed: Option<Feed>,
/* private fields */
}Expand description
Create 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.parent: StringRequired. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as “organizations/123”), a folder number (such as “folders/123”), a project ID (such as “projects/my-project-id”), or a project number (such as “projects/12345”).
feed_id: StringRequired. This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.
feed: Option<Feed>Required. The feed details. The field name must be empty and it will be
generated in the format of: projects/project_number/feeds/feed_id
folders/folder_number/feeds/feed_id
organizations/organization_number/feeds/feed_id
Implementations§
Source§impl CreateFeedRequest
impl CreateFeedRequest
Trait Implementations§
Source§impl Clone for CreateFeedRequest
impl Clone for CreateFeedRequest
Source§fn clone(&self) -> CreateFeedRequest
fn clone(&self) -> CreateFeedRequest
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 CreateFeedRequest
impl Debug for CreateFeedRequest
Source§impl Default for CreateFeedRequest
impl Default for CreateFeedRequest
Source§fn default() -> CreateFeedRequest
fn default() -> CreateFeedRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateFeedRequest
impl Message for CreateFeedRequest
Source§impl PartialEq for CreateFeedRequest
impl PartialEq for CreateFeedRequest
impl StructuralPartialEq for CreateFeedRequest
Auto Trait Implementations§
impl Freeze for CreateFeedRequest
impl RefUnwindSafe for CreateFeedRequest
impl Send for CreateFeedRequest
impl Sync for CreateFeedRequest
impl Unpin for CreateFeedRequest
impl UnwindSafe for CreateFeedRequest
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