pub struct ContainerFileCitationBody2 {
pub container_id: String,
pub file_id: String,
pub start_index: i64,
pub end_index: i64,
pub filename: String,
}
Fields§
§container_id: String
The ID of the container file.
file_id: String
The ID of the file.
start_index: i64
The index of the first character of the container file citation in the message.
end_index: i64
The index of the last character of the container file citation in the message.
filename: String
The filename of the container file cited.
Implementations§
Source§impl ContainerFileCitationBody2
impl ContainerFileCitationBody2
Sourcepub fn builder() -> ContainerFileCitationBody2Builder<((), (), (), (), ())>
pub fn builder() -> ContainerFileCitationBody2Builder<((), (), (), (), ())>
Create a builder for building ContainerFileCitationBody2
.
On the builder, call .container_id(...)
, .file_id(...)
, .start_index(...)
, .end_index(...)
, .filename(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ContainerFileCitationBody2
.
Trait Implementations§
Source§impl Clone for ContainerFileCitationBody2
impl Clone for ContainerFileCitationBody2
Source§fn clone(&self) -> ContainerFileCitationBody2
fn clone(&self) -> ContainerFileCitationBody2
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 ContainerFileCitationBody2
impl Debug for ContainerFileCitationBody2
Source§impl<'de> Deserialize<'de> for ContainerFileCitationBody2
impl<'de> Deserialize<'de> for ContainerFileCitationBody2
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
impl StructuralPartialEq for ContainerFileCitationBody2
Auto Trait Implementations§
impl Freeze for ContainerFileCitationBody2
impl RefUnwindSafe for ContainerFileCitationBody2
impl Send for ContainerFileCitationBody2
impl Sync for ContainerFileCitationBody2
impl Unpin for ContainerFileCitationBody2
impl UnwindSafe for ContainerFileCitationBody2
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