pub struct DocumentLinkOptions {
pub resolve_provider: Option<bool>,
pub work_done_progress_options: WorkDoneProgressOptions,
}Expand description
Provider options for a DocumentLinkRequest.
Fields§
§resolve_provider: Option<bool>Document links have a resolve provider as well.
work_done_progress_options: WorkDoneProgressOptionsImplementations§
Source§impl DocumentLinkOptions
impl DocumentLinkOptions
pub const fn new( resolve_provider: Option<bool>, work_done_progress_options: WorkDoneProgressOptions, ) -> Self
Trait Implementations§
Source§impl Clone for DocumentLinkOptions
impl Clone for DocumentLinkOptions
Source§fn clone(&self) -> DocumentLinkOptions
fn clone(&self) -> DocumentLinkOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentLinkOptions
impl Debug for DocumentLinkOptions
Source§impl Default for DocumentLinkOptions
impl Default for DocumentLinkOptions
Source§fn default() -> DocumentLinkOptions
fn default() -> DocumentLinkOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentLinkOptions
impl<'de> Deserialize<'de> for DocumentLinkOptions
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 Hash for DocumentLinkOptions
impl Hash for DocumentLinkOptions
Source§impl PartialEq for DocumentLinkOptions
impl PartialEq for DocumentLinkOptions
Source§fn eq(&self, other: &DocumentLinkOptions) -> bool
fn eq(&self, other: &DocumentLinkOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DocumentLinkOptions
impl Serialize for DocumentLinkOptions
impl Copy for DocumentLinkOptions
impl Eq for DocumentLinkOptions
impl StructuralPartialEq for DocumentLinkOptions
Auto Trait Implementations§
impl Freeze for DocumentLinkOptions
impl RefUnwindSafe for DocumentLinkOptions
impl Send for DocumentLinkOptions
impl Sync for DocumentLinkOptions
impl Unpin for DocumentLinkOptions
impl UnsafeUnpin for DocumentLinkOptions
impl UnwindSafe for DocumentLinkOptions
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