pub struct DocumentUrlChunk {
pub type: Option<Type>,
pub document_url: String,
pub document_name: Option<Option<String>>,
}Fields§
§type: Option<Type>§document_url: String§document_name: Option<Option<String>>Implementations§
Source§impl DocumentUrlChunk
impl DocumentUrlChunk
pub fn new(document_url: String) -> DocumentUrlChunk
Trait Implementations§
Source§impl Clone for DocumentUrlChunk
impl Clone for DocumentUrlChunk
Source§fn clone(&self) -> DocumentUrlChunk
fn clone(&self) -> DocumentUrlChunk
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 DocumentUrlChunk
impl Debug for DocumentUrlChunk
Source§impl Default for DocumentUrlChunk
impl Default for DocumentUrlChunk
Source§fn default() -> DocumentUrlChunk
fn default() -> DocumentUrlChunk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentUrlChunk
impl<'de> Deserialize<'de> for DocumentUrlChunk
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 DocumentUrlChunk
impl PartialEq for DocumentUrlChunk
Source§impl Serialize for DocumentUrlChunk
impl Serialize for DocumentUrlChunk
impl StructuralPartialEq for DocumentUrlChunk
Auto Trait Implementations§
impl Freeze for DocumentUrlChunk
impl RefUnwindSafe for DocumentUrlChunk
impl Send for DocumentUrlChunk
impl Sync for DocumentUrlChunk
impl Unpin for DocumentUrlChunk
impl UnsafeUnpin for DocumentUrlChunk
impl UnwindSafe for DocumentUrlChunk
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