#[non_exhaustive]pub struct CreateNasJobRequest {
pub parent: String,
pub nas_job: Option<NasJob>,
/* private fields */
}Expand description
Request message for JobService.CreateNasJob.
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 resource name of the Location to create the NasJob in.
Format: projects/{project}/locations/{location}
nas_job: Option<NasJob>Required. The NasJob to create.
Implementations§
Trait Implementations§
Source§impl Clone for CreateNasJobRequest
impl Clone for CreateNasJobRequest
Source§fn clone(&self) -> CreateNasJobRequest
fn clone(&self) -> CreateNasJobRequest
Returns a copy 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 CreateNasJobRequest
impl Debug for CreateNasJobRequest
Source§impl Default for CreateNasJobRequest
impl Default for CreateNasJobRequest
Source§fn default() -> CreateNasJobRequest
fn default() -> CreateNasJobRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateNasJobRequestwhere
CreateNasJobRequest: Default,
impl<'de> Deserialize<'de> for CreateNasJobRequestwhere
CreateNasJobRequest: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for CreateNasJobRequest
impl Message for CreateNasJobRequest
Source§impl PartialEq for CreateNasJobRequest
impl PartialEq for CreateNasJobRequest
Source§impl Serialize for CreateNasJobRequest
impl Serialize for CreateNasJobRequest
impl StructuralPartialEq for CreateNasJobRequest
Auto Trait Implementations§
impl Freeze for CreateNasJobRequest
impl RefUnwindSafe for CreateNasJobRequest
impl Send for CreateNasJobRequest
impl Sync for CreateNasJobRequest
impl Unpin for CreateNasJobRequest
impl UnwindSafe for CreateNasJobRequest
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