#[non_exhaustive]pub struct AssociateNodeInput {
pub server_name: Option<String>,
pub node_name: Option<String>,
pub engine_attributes: Option<Vec<EngineAttribute>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.server_name: Option<String>
The name of the server with which to associate the node.
node_name: Option<String>
The name of the node.
engine_attributes: Option<Vec<EngineAttribute>>
Engine attributes used for associating the node.
Attributes accepted in a AssociateNode request for Chef
-
CHEF_ORGANIZATION
: The Chef organization with which the node is associated. By default only one organization nameddefault
can exist. -
CHEF_NODE_PUBLIC_KEY
: A PEM-formatted public key. This key is required for thechef-client
agent to access the Chef API.
Attributes accepted in a AssociateNode request for Puppet
-
PUPPET_NODE_CSR
: A PEM-formatted certificate-signing request (CSR) that is created by the node.
Implementations§
source§impl AssociateNodeInput
impl AssociateNodeInput
sourcepub fn server_name(&self) -> Option<&str>
pub fn server_name(&self) -> Option<&str>
The name of the server with which to associate the node.
sourcepub fn engine_attributes(&self) -> &[EngineAttribute]
pub fn engine_attributes(&self) -> &[EngineAttribute]
Engine attributes used for associating the node.
Attributes accepted in a AssociateNode request for Chef
-
CHEF_ORGANIZATION
: The Chef organization with which the node is associated. By default only one organization nameddefault
can exist. -
CHEF_NODE_PUBLIC_KEY
: A PEM-formatted public key. This key is required for thechef-client
agent to access the Chef API.
Attributes accepted in a AssociateNode request for Puppet
-
PUPPET_NODE_CSR
: A PEM-formatted certificate-signing request (CSR) that is created by the node.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .engine_attributes.is_none()
.
source§impl AssociateNodeInput
impl AssociateNodeInput
sourcepub fn builder() -> AssociateNodeInputBuilder
pub fn builder() -> AssociateNodeInputBuilder
Creates a new builder-style object to manufacture AssociateNodeInput
.
Trait Implementations§
source§impl Clone for AssociateNodeInput
impl Clone for AssociateNodeInput
source§fn clone(&self) -> AssociateNodeInput
fn clone(&self) -> AssociateNodeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociateNodeInput
impl Debug for AssociateNodeInput
source§impl PartialEq for AssociateNodeInput
impl PartialEq for AssociateNodeInput
source§fn eq(&self, other: &AssociateNodeInput) -> bool
fn eq(&self, other: &AssociateNodeInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateNodeInput
Auto Trait Implementations§
impl Freeze for AssociateNodeInput
impl RefUnwindSafe for AssociateNodeInput
impl Send for AssociateNodeInput
impl Sync for AssociateNodeInput
impl Unpin for AssociateNodeInput
impl UnwindSafe for AssociateNodeInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more