[][src]Struct libcne_ve::cne::Elector

pub struct Elector {
    pub citizenship: Citizenship,
    pub identity: String,
    pub name: String,
    pub state: String,
    pub town: String,
    pub parish: String,
    pub voting_center: String,
    pub address: String,
}

The actor for the information provided by the CNE website is represented as an Elector

Fields

citizenship: Citizenshipidentity: Stringname: Stringstate: Stringtown: Stringparish: Stringvoting_center: Stringaddress: String

Trait Implementations

impl Debug for Elector[src]

impl<'de> Deserialize<'de> for Elector[src]

impl From<String> for Elector[src]

impl Serialize for Elector[src]

Auto Trait Implementations

impl RefUnwindSafe for Elector

impl Send for Elector

impl Sync for Elector

impl Unpin for Elector

impl UnwindSafe for Elector

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.