#[non_exhaustive]pub struct CreateQueueRequest {
pub parent: String,
pub queue: Option<Queue>,
/* private fields */
}Expand description
Request message for CreateQueue.
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 location name in which the queue will be created.
For example: projects/PROJECT_ID/locations/LOCATION_ID
The list of allowed locations can be obtained by calling Cloud Tasks’ implementation of [ListLocations][google.cloud.location.Locations.ListLocations].
queue: Option<Queue>Required. The queue to create.
Queue’s name cannot be the same as an existing queue.
Implementations§
Source§impl CreateQueueRequest
impl CreateQueueRequest
Trait Implementations§
Source§impl Clone for CreateQueueRequest
impl Clone for CreateQueueRequest
Source§fn clone(&self) -> CreateQueueRequest
fn clone(&self) -> CreateQueueRequest
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 CreateQueueRequest
impl Debug for CreateQueueRequest
Source§impl Default for CreateQueueRequest
impl Default for CreateQueueRequest
Source§fn default() -> CreateQueueRequest
fn default() -> CreateQueueRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateQueueRequest
impl Message for CreateQueueRequest
Source§impl PartialEq for CreateQueueRequest
impl PartialEq for CreateQueueRequest
impl StructuralPartialEq for CreateQueueRequest
Auto Trait Implementations§
impl Freeze for CreateQueueRequest
impl RefUnwindSafe for CreateQueueRequest
impl Send for CreateQueueRequest
impl Sync for CreateQueueRequest
impl Unpin for CreateQueueRequest
impl UnwindSafe for CreateQueueRequest
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