#[non_exhaustive]pub struct InterconnectMacsecConfig {
pub pre_shared_keys: Vec<InterconnectMacsecConfigPreSharedKey>,
/* private fields */
}Available on crate feature
interconnects only.Expand description
MACsec configuration information for the Interconnect connection. Contains the generated Connectivity Association Key Name (CKN) and the key (CAK) for this Interconnect connection.
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.A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.
Implementations§
Source§impl InterconnectMacsecConfig
impl InterconnectMacsecConfig
pub fn new() -> Self
Sets the value of pre_shared_keys.
§Example
ⓘ
use google_cloud_compute_v1::model::InterconnectMacsecConfigPreSharedKey;
let x = InterconnectMacsecConfig::new()
.set_pre_shared_keys([
InterconnectMacsecConfigPreSharedKey::default()/* use setters */,
InterconnectMacsecConfigPreSharedKey::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for InterconnectMacsecConfig
impl Clone for InterconnectMacsecConfig
Source§fn clone(&self) -> InterconnectMacsecConfig
fn clone(&self) -> InterconnectMacsecConfig
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 InterconnectMacsecConfig
impl Debug for InterconnectMacsecConfig
Source§impl Default for InterconnectMacsecConfig
impl Default for InterconnectMacsecConfig
Source§fn default() -> InterconnectMacsecConfig
fn default() -> InterconnectMacsecConfig
Returns the “default value” for a type. Read more
Source§impl Message for InterconnectMacsecConfig
impl Message for InterconnectMacsecConfig
Source§impl PartialEq for InterconnectMacsecConfig
impl PartialEq for InterconnectMacsecConfig
impl StructuralPartialEq for InterconnectMacsecConfig
Auto Trait Implementations§
impl Freeze for InterconnectMacsecConfig
impl RefUnwindSafe for InterconnectMacsecConfig
impl Send for InterconnectMacsecConfig
impl Sync for InterconnectMacsecConfig
impl Unpin for InterconnectMacsecConfig
impl UnwindSafe for InterconnectMacsecConfig
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