pub struct MessageContentTextAnnotationsFilePathObject {
pub type: String,
pub text: String,
pub file_path: FilePath,
pub start_index: u32,
pub end_index: u32,
}
Fields§
§type: String
Always file_path
.
text: String
The text in the message content that needs to be replaced.
file_path: FilePath
§start_index: u32
§end_index: u32
Trait Implementations§
source§impl Clone for MessageContentTextAnnotationsFilePathObject
impl Clone for MessageContentTextAnnotationsFilePathObject
source§fn clone(&self) -> MessageContentTextAnnotationsFilePathObject
fn clone(&self) -> MessageContentTextAnnotationsFilePathObject
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<'de> Deserialize<'de> for MessageContentTextAnnotationsFilePathObject
impl<'de> Deserialize<'de> for MessageContentTextAnnotationsFilePathObject
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 PartialEq for MessageContentTextAnnotationsFilePathObject
impl PartialEq for MessageContentTextAnnotationsFilePathObject
source§fn eq(&self, other: &MessageContentTextAnnotationsFilePathObject) -> bool
fn eq(&self, other: &MessageContentTextAnnotationsFilePathObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MessageContentTextAnnotationsFilePathObject
Auto Trait Implementations§
impl RefUnwindSafe for MessageContentTextAnnotationsFilePathObject
impl Send for MessageContentTextAnnotationsFilePathObject
impl Sync for MessageContentTextAnnotationsFilePathObject
impl Unpin for MessageContentTextAnnotationsFilePathObject
impl UnwindSafe for MessageContentTextAnnotationsFilePathObject
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