#[non_exhaustive]pub struct CreateViewRequest {
pub parent: String,
pub view_id: String,
pub view: Option<LogView>,
/* private fields */
}Expand description
The parameters to CreateView.
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 bucket in which to create the view
`"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`For example:
"projects/my-project/locations/global/buckets/my-bucket"
view_id: StringRequired. A client-assigned identifier such as "my-view". Identifiers are
limited to 100 characters and can include only letters, digits,
underscores, hyphens, and periods.
view: Option<LogView>Required. The new view.
Implementations§
Source§impl CreateViewRequest
impl CreateViewRequest
Trait Implementations§
Source§impl Clone for CreateViewRequest
impl Clone for CreateViewRequest
Source§fn clone(&self) -> CreateViewRequest
fn clone(&self) -> CreateViewRequest
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 CreateViewRequest
impl Debug for CreateViewRequest
Source§impl Default for CreateViewRequest
impl Default for CreateViewRequest
Source§fn default() -> CreateViewRequest
fn default() -> CreateViewRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateViewRequest
impl Message for CreateViewRequest
Source§impl PartialEq for CreateViewRequest
impl PartialEq for CreateViewRequest
impl StructuralPartialEq for CreateViewRequest
Auto Trait Implementations§
impl Freeze for CreateViewRequest
impl RefUnwindSafe for CreateViewRequest
impl Send for CreateViewRequest
impl Sync for CreateViewRequest
impl Unpin for CreateViewRequest
impl UnwindSafe for CreateViewRequest
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