Struct rusoto_acm_pca::GeneralName
source · [−]pub struct GeneralName {
pub directory_name: Option<ASN1Subject>,
pub dns_name: Option<String>,
pub edi_party_name: Option<EdiPartyName>,
pub ip_address: Option<String>,
pub other_name: Option<OtherName>,
pub registered_id: Option<String>,
pub rfc_822_name: Option<String>,
pub uniform_resource_identifier: Option<String>,
}
Expand description
Describes an ASN.1 X.400 GeneralName
as defined in RFC 5280. Only one of the following naming options should be provided. Providing more than one option results in an InvalidArgsException
error.
Fields
directory_name: Option<ASN1Subject>
dns_name: Option<String>
Represents GeneralName
as a DNS name.
edi_party_name: Option<EdiPartyName>
Represents GeneralName
as an EdiPartyName
object.
ip_address: Option<String>
Represents GeneralName
as an IPv4 or IPv6 address.
other_name: Option<OtherName>
Represents GeneralName
using an OtherName
object.
registered_id: Option<String>
Represents GeneralName
as an object identifier (OID).
rfc_822_name: Option<String>
Represents GeneralName
as an RFC 822 email address.
uniform_resource_identifier: Option<String>
Represents GeneralName
as a URI.
Trait Implementations
sourceimpl Clone for GeneralName
impl Clone for GeneralName
sourcefn clone(&self) -> GeneralName
fn clone(&self) -> GeneralName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GeneralName
impl Debug for GeneralName
sourceimpl Default for GeneralName
impl Default for GeneralName
sourcefn default() -> GeneralName
fn default() -> GeneralName
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GeneralName
impl<'de> Deserialize<'de> for GeneralName
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GeneralName> for GeneralName
impl PartialEq<GeneralName> for GeneralName
sourcefn eq(&self, other: &GeneralName) -> bool
fn eq(&self, other: &GeneralName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GeneralName) -> bool
fn ne(&self, other: &GeneralName) -> bool
This method tests for !=
.
sourceimpl Serialize for GeneralName
impl Serialize for GeneralName
impl StructuralPartialEq for GeneralName
Auto Trait Implementations
impl RefUnwindSafe for GeneralName
impl Send for GeneralName
impl Sync for GeneralName
impl Unpin for GeneralName
impl UnwindSafe for GeneralName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more