Struct hvcg_governance_openapi_catholic_polity::models::Diocese [−][src]
pub struct Diocese { pub province: Province, pub id: Option<Uuid>, pub name: String, pub person_in_charge: String, }
Expand description
An area controlled by a ecclesiastical province
Fields
province: Province
id: Option<Uuid>
name: String
person_in_charge: String
Implementations
Trait Implementations
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
Converts Query Parameters representation (style=form, explode=false) to a Diocese value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Converts the Diocese value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Auto Trait Implementations
impl RefUnwindSafe for Diocese
impl UnwindSafe for Diocese
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more