[−][src]Enum asn1rs_model::model::rust::RustType
Integers are ordered where Ixx < Uxx so
that when comparing two instances RustType
and a > b, then the integer type of a can
use ::from(..) to cast from b
Variants
Complex(String)
Indicates a complex, custom type that is not one of rusts known types. This can be thought of as a "ReferenceType"; declaring usage, but not being declared here
Implementations
impl RustType
[src]
pub fn as_inner_type(&self) -> &RustType
[src]
pub fn into_inner_type(self) -> RustType
[src]
pub fn to_inner(&self) -> Option<String>
[src]
pub fn to_inner_type_string(&self) -> String
[src]
pub fn no_option(self) -> Self
[src]
pub fn as_no_option(&self) -> &Self
[src]
pub fn is_vec(&self) -> bool
[src]
pub fn is_option(&self) -> bool
[src]
pub fn is_primitive(&self) -> bool
[src]
pub fn integer_range_str(&self) -> Option<Range<String>>
[src]
pub fn into_asn(self) -> AsnType
[src]
pub fn similar(&self, other: &Self) -> bool
[src]
Trait Implementations
impl Clone for RustType
[src]
impl Debug for RustType
[src]
impl PartialEq<RustType> for RustType
[src]
impl PartialOrd<RustType> for RustType
[src]
fn partial_cmp(&self, other: &RustType) -> Option<Ordering>
[src]
fn lt(&self, other: &RustType) -> bool
[src]
fn le(&self, other: &RustType) -> bool
[src]
fn gt(&self, other: &RustType) -> bool
[src]
fn ge(&self, other: &RustType) -> bool
[src]
impl StructuralPartialEq for RustType
[src]
impl ToProtobufType for RustType
[src]
fn to_protobuf(&self) -> ProtobufType
[src]
impl ToSql for RustType
[src]
impl ToString for RustType
[src]
Auto Trait Implementations
impl RefUnwindSafe for RustType
impl Send for RustType
impl Sync for RustType
impl Unpin for RustType
impl UnwindSafe for RustType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,