Struct musicbrainz_rs::entity::place::Place[][src]

pub struct Place {
Show fields pub id: String, pub name: String, pub place_type: Option<String>, pub type_id: Option<String>, pub life_span: LifeSpan, pub coordinates: Option<Coordinates>, pub area: Area, pub address: String, pub disambiguation: String, pub aliases: Option<Vec<Alias>>, pub tags: Option<Vec<Tag>>, pub genres: Option<Vec<Genre>>, pub annotation: Option<String>,
}

Fields

id: Stringname: Stringplace_type: Option<String>type_id: Option<String>life_span: LifeSpancoordinates: Option<Coordinates>area: Areaaddress: Stringdisambiguation: Stringaliases: Option<Vec<Alias>>tags: Option<Vec<Tag>>genres: Option<Vec<Genre>>annotation: Option<String>

Trait Implementations

impl Browsable for Place[src]

const COUNT_FIELD: &'static str[src]

const OFFSET_FIELD: &'static str[src]

const ENTITIES_FIELD: &'static str[src]

impl Browse<'_> for Place[src]

fn browse() -> BrowseQuery<Self> where
    Self: Sized + Path<'a>, 
[src]

impl Clone for Place[src]

fn clone(&self) -> Place[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Place[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

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

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Fetch<'_> for Place[src]

fn fetch() -> FetchQuery<Self> where
    Self: Sized + Path<'a>, 
[src]

impl PartialEq<Place> for Place[src]

fn eq(&self, other: &Place) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Place) -> bool[src]

This method tests for !=.

impl Path<'_> for Place[src]

fn path() -> &'static str[src]

impl Serialize for Place[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl StructuralPartialEq for Place[src]

Auto Trait Implementations

impl RefUnwindSafe for Place

impl Send for Place

impl Sync for Place

impl Unpin for Place

impl UnwindSafe for Place

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Err>

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