pub struct CreateFootnoteRequest {
pub end_of_segment_location: Option<EndOfSegmentLocation>,
pub location: Option<Location>,
}
Expand description
Creates a Footnote segment and inserts a new FootnoteReference to it at the given location. The new Footnote segment will contain a space followed by a newline character.
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 footnote reference at the end of the document body. Footnote references cannot be inserted inside a header, footer or footnote. Since footnote references can only be inserted in the body, the segment ID field must be empty.
location: Option<Location>
Inserts the footnote reference at a specific index in the document. The footnote reference 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). Footnote references cannot be inserted inside an equation, header, footer or footnote. Since footnote references can only be inserted in the body, the segment ID field must be empty.
Trait Implementations§
Source§impl Clone for CreateFootnoteRequest
impl Clone for CreateFootnoteRequest
Source§fn clone(&self) -> CreateFootnoteRequest
fn clone(&self) -> CreateFootnoteRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CreateFootnoteRequest
impl Debug for CreateFootnoteRequest
Source§impl Default for CreateFootnoteRequest
impl Default for CreateFootnoteRequest
Source§fn default() -> CreateFootnoteRequest
fn default() -> CreateFootnoteRequest
Source§impl<'de> Deserialize<'de> for CreateFootnoteRequest
impl<'de> Deserialize<'de> for CreateFootnoteRequest
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>,
Source§impl Serialize for CreateFootnoteRequest
impl Serialize for CreateFootnoteRequest
impl Part for CreateFootnoteRequest
Auto Trait Implementations§
impl Freeze for CreateFootnoteRequest
impl RefUnwindSafe for CreateFootnoteRequest
impl Send for CreateFootnoteRequest
impl Sync for CreateFootnoteRequest
impl Unpin for CreateFootnoteRequest
impl UnwindSafe for CreateFootnoteRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more