pub struct DateElement {
pub date_element_properties: Option<DateElementProperties>,
pub date_id: Option<String>,
pub suggested_date_element_properties_changes: Option<HashMap<String, SuggestedDateElementProperties>>,
pub suggested_deletion_ids: Option<Vec<String>>,
pub suggested_insertion_ids: Option<Vec<String>>,
pub suggested_text_style_changes: Option<HashMap<String, SuggestedTextStyle>>,
pub text_style: Option<TextStyle>,
}Expand description
A date instance mentioned in a document.
This type is not used in any activity, and only used as part of another schema.
Fields§
§date_element_properties: Option<DateElementProperties>The properties of this DateElement.
date_id: Option<String>Output only. The unique ID of this date.
suggested_date_element_properties_changes: Option<HashMap<String, SuggestedDateElementProperties>>The suggested changes to the date element properties, keyed by suggestion ID.
suggested_deletion_ids: Option<Vec<String>>IDs for suggestions that remove this date from the document. A DateElement might have multiple deletion IDs if, for example, multiple users suggest deleting it. If empty, then this date isn’t suggested for deletion.
suggested_insertion_ids: Option<Vec<String>>IDs for suggestions that insert this date into the document. A DateElement might have multiple insertion IDs if it’s a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this date isn’t a suggested insertion.
suggested_text_style_changes: Option<HashMap<String, SuggestedTextStyle>>The suggested text style changes to this DateElement, keyed by suggestion ID.
text_style: Option<TextStyle>The text style of this DateElement.
Trait Implementations§
Source§impl Clone for DateElement
impl Clone for DateElement
Source§fn clone(&self) -> DateElement
fn clone(&self) -> DateElement
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more