#[non_exhaustive]pub struct CustomTarget {
pub custom_target_type: String,
/* private fields */
}
Expand description
Information specifying a Custom Target.
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.custom_target_type: String
Required. The name of the CustomTargetType. Format must be
projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}
.
Implementations§
Source§impl CustomTarget
impl CustomTarget
pub fn new() -> Self
Sourcepub fn set_custom_target_type<T: Into<String>>(self, v: T) -> Self
pub fn set_custom_target_type<T: Into<String>>(self, v: T) -> Self
Sets the value of custom_target_type.
Trait Implementations§
Source§impl Clone for CustomTarget
impl Clone for CustomTarget
Source§fn clone(&self) -> CustomTarget
fn clone(&self) -> CustomTarget
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 CustomTarget
impl Debug for CustomTarget
Source§impl Default for CustomTarget
impl Default for CustomTarget
Source§fn default() -> CustomTarget
fn default() -> CustomTarget
Returns the “default value” for a type. Read more
Source§impl Message for CustomTarget
impl Message for CustomTarget
Source§impl PartialEq for CustomTarget
impl PartialEq for CustomTarget
impl StructuralPartialEq for CustomTarget
Auto Trait Implementations§
impl Freeze for CustomTarget
impl RefUnwindSafe for CustomTarget
impl Send for CustomTarget
impl Sync for CustomTarget
impl Unpin for CustomTarget
impl UnwindSafe for CustomTarget
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