pub struct MessageContentTextAnnotationsFilePathObject {
pub text: String,
pub file_path: FilePath,
pub start_index: u32,
pub end_index: u32,
}
Fields§
§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
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageContentTextAnnotationsFilePathObject
Auto Trait Implementations§
impl Freeze for MessageContentTextAnnotationsFilePathObject
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