Struct hvcg_governance_openapi_catholic_polity::models::Polity [−][src]
pub struct Polity {
pub id: Option<Uuid>,
pub name: String,
pub location_email: Option<String>,
pub location_address: Option<String>,
pub location_name: Option<String>,
pub person_in_charge: Option<String>,
}
Fields
id: Option<Uuid>
name: String
location_email: Option<String>
location_address: Option<String>
location_name: Option<String>
person_in_charge: Option<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 Polity value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Converts the Polity 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 Polity
impl UnwindSafe for Polity
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more