#[non_exhaustive]pub struct VpcProject {
pub project_id: String,
pub service_account: String,
/* private fields */
}Expand description
Project detail of the VPC network.
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.project_id: StringThe project of the VPC to connect to. If not specified, it is the same as the cluster project.
service_account: String👎Deprecated
Optional. Deprecated: do not use.
Implementations§
Source§impl VpcProject
impl VpcProject
pub fn new() -> Self
Sourcepub fn set_project_id<T: Into<String>>(self, v: T) -> Self
pub fn set_project_id<T: Into<String>>(self, v: T) -> Self
Sets the value of project_id.
Sourcepub fn set_service_account<T: Into<String>>(self, v: T) -> Self
👎Deprecated
pub fn set_service_account<T: Into<String>>(self, v: T) -> Self
Sets the value of service_account.
Trait Implementations§
Source§impl Clone for VpcProject
impl Clone for VpcProject
Source§fn clone(&self) -> VpcProject
fn clone(&self) -> VpcProject
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 VpcProject
impl Debug for VpcProject
Source§impl Default for VpcProject
impl Default for VpcProject
Source§fn default() -> VpcProject
fn default() -> VpcProject
Returns the “default value” for a type. Read more
Source§impl PartialEq for VpcProject
impl PartialEq for VpcProject
impl StructuralPartialEq for VpcProject
Auto Trait Implementations§
impl Freeze for VpcProject
impl RefUnwindSafe for VpcProject
impl Send for VpcProject
impl Sync for VpcProject
impl Unpin for VpcProject
impl UnwindSafe for VpcProject
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