Struct oo_bindgen::model::StringType
source · pub struct StringType;
Expand description
Marker class used to denote the String type with conversions to more specialized types
Trait Implementations§
source§impl Clone for StringType
impl Clone for StringType
source§fn clone(&self) -> StringType
fn clone(&self) -> StringType
Returns a copy 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 StringType
impl Debug for StringType
source§impl From<StringType> for CallbackArgument
impl From<StringType> for CallbackArgument
source§fn from(x: StringType) -> Self
fn from(x: StringType) -> Self
Converts to this type from the input type.
source§impl From<StringType> for FunctionArgStructField
impl From<StringType> for FunctionArgStructField
source§fn from(x: StringType) -> Self
fn from(x: StringType) -> Self
Converts to this type from the input type.
source§impl From<StringType> for FunctionArgument
impl From<StringType> for FunctionArgument
source§fn from(x: StringType) -> Self
fn from(x: StringType) -> Self
Converts to this type from the input type.
source§impl From<StringType> for FunctionReturnValue
impl From<StringType> for FunctionReturnValue
source§fn from(_: StringType) -> Self
fn from(_: StringType) -> Self
Converts to this type from the input type.
source§impl InitializerValidator for StringType
impl InitializerValidator for StringType
source§fn validate_default_value(
&self,
value: &InitializerDefault
) -> BindResult<ValidatedDefaultValue>
fn validate_default_value(
&self,
value: &InitializerDefault
) -> BindResult<ValidatedDefaultValue>
Check that the value is valid for the type
fn bad_initializer_value(
field_type: String,
value: &InitializerDefault
) -> BindResult<ValidatedDefaultValue>
source§impl PartialEq<StringType> for StringType
impl PartialEq<StringType> for StringType
source§fn eq(&self, other: &StringType) -> bool
fn eq(&self, other: &StringType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.