pub struct EnderecoInput {
pub logradouro: String,
pub numero: String,
pub complemento: Option<String>,
pub bairro: String,
pub municipio: String,
pub codigo_municipio: String,
pub uf: String,
pub cep: String,
}Expand description
Input endereço
Fields§
§logradouro: String§numero: String§complemento: Option<String>§bairro: String§municipio: String§codigo_municipio: String§uf: String§cep: StringTrait Implementations§
Source§impl Clone for EnderecoInput
impl Clone for EnderecoInput
Source§fn clone(&self) -> EnderecoInput
fn clone(&self) -> EnderecoInput
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 EnderecoInput
impl Debug for EnderecoInput
Source§impl<'de> Deserialize<'de> for EnderecoInput
impl<'de> Deserialize<'de> for EnderecoInput
Source§fn 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
Source§impl InputType for EnderecoInput
impl InputType for EnderecoInput
Source§type RawValueType = EnderecoInput
type RawValueType = EnderecoInput
The raw type used for validator. Read more
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value. None represents undefined.Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
Source§impl Serialize for EnderecoInput
impl Serialize for EnderecoInput
impl InputObjectType for EnderecoInput
Auto Trait Implementations§
impl Freeze for EnderecoInput
impl RefUnwindSafe for EnderecoInput
impl Send for EnderecoInput
impl Sync for EnderecoInput
impl Unpin for EnderecoInput
impl UnwindSafe for EnderecoInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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