pub struct Body {Show 32 fields
pub id: BodyId,
pub namespace: BodyNamespaceUrl,
pub system: Option<SystemId>,
pub short_name: Option<Name>,
pub name: Name,
pub website: Option<Url>,
pub license: Option<Url>,
pub license_valid_since: Option<DateTime>,
pub oparl_since: Option<DateTime>,
pub ags: Option<String>,
pub rgs: Option<String>,
pub equivalent: Vec<Url>,
pub contact_email: Option<EmailAddress>,
pub contact_name: Option<Name>,
pub organization: OrganizationListId,
pub person: PersonListId,
pub meeting: MeetingListId,
pub paper: PaperListId,
pub legislative_term: Vec<LegislativeTerm>,
pub agenda_item: AgendaItemListId,
pub consultation: ConsultationListId,
pub file: FileListId,
pub location_list: LocationListId,
pub legislative_term_list: LegislativeTermListId,
pub membership: MembershipListId,
pub classification: Option<BodyClassification>,
pub location: Option<Location>,
pub keyword: Vec<Keyword>,
pub created: DateTime,
pub modified: DateTime,
pub web: Option<Url>,
pub deleted: Option<bool>,
}Fields§
§id: BodyId§namespace: BodyNamespaceUrl§system: Option<SystemId>§short_name: Option<Name>§name: Name§website: Option<Url>§license: Option<Url>§license_valid_since: Option<DateTime>§oparl_since: Option<DateTime>§ags: Option<String>§rgs: Option<String>§equivalent: Vec<Url>§contact_email: Option<EmailAddress>§contact_name: Option<Name>§organization: OrganizationListId§person: PersonListId§meeting: MeetingListId§paper: PaperListId§legislative_term: Vec<LegislativeTerm>§agenda_item: AgendaItemListId§consultation: ConsultationListId§file: FileListId§location_list: LocationListId§legislative_term_list: LegislativeTermListId§membership: MembershipListId§classification: Option<BodyClassification>§location: Option<Location>§keyword: Vec<Keyword>§created: DateTime§modified: DateTime§web: Option<Url>§deleted: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Body
impl<'de> Deserialize<'de> for Body
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
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnwindSafe for Body
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