#[non_exhaustive]pub struct CreateLinkRequest {
pub parent: String,
pub link: Option<Link>,
pub link_id: String,
/* private fields */
}Expand description
The parameters to CreateLink.
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 full resource name of the bucket to create a link for.
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"link: Option<Link>Required. The new link.
link_id: StringRequired. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
Implementations§
Source§impl CreateLinkRequest
impl CreateLinkRequest
Trait Implementations§
Source§impl Clone for CreateLinkRequest
impl Clone for CreateLinkRequest
Source§fn clone(&self) -> CreateLinkRequest
fn clone(&self) -> CreateLinkRequest
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 CreateLinkRequest
impl Debug for CreateLinkRequest
Source§impl Default for CreateLinkRequest
impl Default for CreateLinkRequest
Source§fn default() -> CreateLinkRequest
fn default() -> CreateLinkRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateLinkRequest
impl Message for CreateLinkRequest
Source§impl PartialEq for CreateLinkRequest
impl PartialEq for CreateLinkRequest
impl StructuralPartialEq for CreateLinkRequest
Auto Trait Implementations§
impl Freeze for CreateLinkRequest
impl RefUnwindSafe for CreateLinkRequest
impl Send for CreateLinkRequest
impl Sync for CreateLinkRequest
impl Unpin for CreateLinkRequest
impl UnwindSafe for CreateLinkRequest
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