pub struct ContentHistoryItem {Show 15 fields
pub contribution_comment: Option<String>,
pub contribution_date: Option<NaiveDate>,
pub contribution_name: Option<String>,
pub contribution_organization: Option<String>,
pub contribution_type: Option<String>,
pub date: Option<NaiveDate>,
pub modification_comment: Option<String>,
pub modification_date: Option<NaiveDate>,
pub modification_name: Option<String>,
pub modification_organization: Option<String>,
pub previous_entry_name: Option<String>,
pub submission_date: Option<NaiveDate>,
pub submission_name: Option<String>,
pub submission_organization: Option<String>,
pub type_: String,
}
Expand description
ContentHistoryItem
JSON schema
{
"type": "object",
"required": [
"Type"
],
"properties": {
"ContributionComment": {
"type": "string"
},
"ContributionDate": {
"type": "string",
"format": "date"
},
"ContributionName": {
"type": "string"
},
"ContributionOrganization": {
"type": "string"
},
"ContributionType": {
"type": "string"
},
"Date": {
"type": "string",
"format": "date"
},
"ModificationComment": {
"type": "string"
},
"ModificationDate": {
"type": "string",
"format": "date"
},
"ModificationName": {
"type": "string"
},
"ModificationOrganization": {
"type": "string"
},
"PreviousEntryName": {
"type": "string"
},
"SubmissionDate": {
"type": "string",
"format": "date"
},
"SubmissionName": {
"type": "string"
},
"SubmissionOrganization": {
"type": "string"
},
"Type": {
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§contribution_comment: Option<String>
§contribution_date: Option<NaiveDate>
§contribution_name: Option<String>
§contribution_organization: Option<String>
§contribution_type: Option<String>
§date: Option<NaiveDate>
§modification_comment: Option<String>
§modification_date: Option<NaiveDate>
§modification_name: Option<String>
§modification_organization: Option<String>
§previous_entry_name: Option<String>
§submission_date: Option<NaiveDate>
§submission_name: Option<String>
§submission_organization: Option<String>
§type_: String
Trait Implementations§
Source§impl Clone for ContentHistoryItem
impl Clone for ContentHistoryItem
Source§fn clone(&self) -> ContentHistoryItem
fn clone(&self) -> ContentHistoryItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ContentHistoryItem
impl Debug for ContentHistoryItem
Source§impl<'de> Deserialize<'de> for ContentHistoryItem
impl<'de> Deserialize<'de> for ContentHistoryItem
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
Source§impl From<&ContentHistoryItem> for ContentHistoryItem
impl From<&ContentHistoryItem> for ContentHistoryItem
Source§fn from(value: &ContentHistoryItem) -> Self
fn from(value: &ContentHistoryItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContentHistoryItem
impl RefUnwindSafe for ContentHistoryItem
impl Send for ContentHistoryItem
impl Sync for ContentHistoryItem
impl Unpin for ContentHistoryItem
impl UnwindSafe for ContentHistoryItem
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