#[non_exhaustive]pub struct GetMacsecConfigRequest {
pub interconnect: String,
pub project: String,
/* private fields */
}Available on crate feature
interconnects only.Expand description
Synthetic request message for the getMacsecConfig() 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.interconnect: StringName of the interconnect resource to query.
project: StringProject ID for this request.
Implementations§
Source§impl GetMacsecConfigRequest
impl GetMacsecConfigRequest
pub fn new() -> Self
Sourcepub fn set_interconnect<T: Into<String>>(self, v: T) -> Self
pub fn set_interconnect<T: Into<String>>(self, v: T) -> Self
Sets the value of interconnect.
§Example
ⓘ
let x = GetMacsecConfigRequest::new().set_interconnect("example");Trait Implementations§
Source§impl Clone for GetMacsecConfigRequest
impl Clone for GetMacsecConfigRequest
Source§fn clone(&self) -> GetMacsecConfigRequest
fn clone(&self) -> GetMacsecConfigRequest
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 GetMacsecConfigRequest
impl Debug for GetMacsecConfigRequest
Source§impl Default for GetMacsecConfigRequest
impl Default for GetMacsecConfigRequest
Source§fn default() -> GetMacsecConfigRequest
fn default() -> GetMacsecConfigRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetMacsecConfigRequest
impl PartialEq for GetMacsecConfigRequest
impl StructuralPartialEq for GetMacsecConfigRequest
Auto Trait Implementations§
impl Freeze for GetMacsecConfigRequest
impl RefUnwindSafe for GetMacsecConfigRequest
impl Send for GetMacsecConfigRequest
impl Sync for GetMacsecConfigRequest
impl Unpin for GetMacsecConfigRequest
impl UnwindSafe for GetMacsecConfigRequest
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