pub struct InsertPersonRequest {
pub end_of_segment_location: Option<EndOfSegmentLocation>,
pub location: Option<Location>,
pub person_properties: Option<PersonProperties>,
}Expand description
Inserts a person mention.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_of_segment_location: Option<EndOfSegmentLocation>Inserts the person mention at the end of a header, footer, footnote or the document body.
location: Option<Location>Inserts the person mention at a specific index in the document. The person mention must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table’s start index (i.e. between the table and its preceding paragraph). People cannot be inserted inside an equation.
person_properties: Option<PersonProperties>The properties of the person mention to insert.
Trait Implementations§
Source§impl Clone for InsertPersonRequest
impl Clone for InsertPersonRequest
Source§fn clone(&self) -> InsertPersonRequest
fn clone(&self) -> InsertPersonRequest
Returns a duplicate 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 InsertPersonRequest
impl Debug for InsertPersonRequest
Source§impl Default for InsertPersonRequest
impl Default for InsertPersonRequest
Source§fn default() -> InsertPersonRequest
fn default() -> InsertPersonRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InsertPersonRequest
impl<'de> Deserialize<'de> for InsertPersonRequest
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 Serialize for InsertPersonRequest
impl Serialize for InsertPersonRequest
impl Part for InsertPersonRequest
Auto Trait Implementations§
impl Freeze for InsertPersonRequest
impl RefUnwindSafe for InsertPersonRequest
impl Send for InsertPersonRequest
impl Sync for InsertPersonRequest
impl Unpin for InsertPersonRequest
impl UnwindSafe for InsertPersonRequest
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