#[non_exhaustive]pub struct SetDefaultProcessorVersionRequest {
pub processor: String,
pub default_processor_version: String,
/* private fields */
}Expand description
Request message for the SetDefaultProcessorVersion method.
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.processor: StringRequired. The resource name of the Processor to change default version.
default_processor_version: StringRequired. The resource name of child
ProcessorVersion to use as
default. Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}
Implementations§
Source§impl SetDefaultProcessorVersionRequest
impl SetDefaultProcessorVersionRequest
pub fn new() -> Self
Sourcepub fn set_processor<T: Into<String>>(self, v: T) -> Self
pub fn set_processor<T: Into<String>>(self, v: T) -> Self
Sets the value of processor.
Sourcepub fn set_default_processor_version<T: Into<String>>(self, v: T) -> Self
pub fn set_default_processor_version<T: Into<String>>(self, v: T) -> Self
Sets the value of default_processor_version.
Trait Implementations§
Source§impl Clone for SetDefaultProcessorVersionRequest
impl Clone for SetDefaultProcessorVersionRequest
Source§fn clone(&self) -> SetDefaultProcessorVersionRequest
fn clone(&self) -> SetDefaultProcessorVersionRequest
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 Default for SetDefaultProcessorVersionRequest
impl Default for SetDefaultProcessorVersionRequest
Source§fn default() -> SetDefaultProcessorVersionRequest
fn default() -> SetDefaultProcessorVersionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for SetDefaultProcessorVersionRequest
impl PartialEq for SetDefaultProcessorVersionRequest
Source§fn eq(&self, other: &SetDefaultProcessorVersionRequest) -> bool
fn eq(&self, other: &SetDefaultProcessorVersionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetDefaultProcessorVersionRequest
Auto Trait Implementations§
impl Freeze for SetDefaultProcessorVersionRequest
impl RefUnwindSafe for SetDefaultProcessorVersionRequest
impl Send for SetDefaultProcessorVersionRequest
impl Sync for SetDefaultProcessorVersionRequest
impl Unpin for SetDefaultProcessorVersionRequest
impl UnwindSafe for SetDefaultProcessorVersionRequest
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