pub struct DocumentHighlightRegistrationOptions {
pub document_selector: Option<DocumentSelector>,
}Expand description
Registration options for a {@link DocumentHighlightRequest}.
Fields§
§document_selector: Option<DocumentSelector>A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
Trait Implementations§
Source§impl Clone for DocumentHighlightRegistrationOptions
impl Clone for DocumentHighlightRegistrationOptions
Source§fn clone(&self) -> DocumentHighlightRegistrationOptions
fn clone(&self) -> DocumentHighlightRegistrationOptions
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 Default for DocumentHighlightRegistrationOptions
impl Default for DocumentHighlightRegistrationOptions
Source§fn default() -> DocumentHighlightRegistrationOptions
fn default() -> DocumentHighlightRegistrationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentHighlightRegistrationOptions
impl<'de> Deserialize<'de> for DocumentHighlightRegistrationOptions
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 Eq for DocumentHighlightRegistrationOptions
impl StructuralPartialEq for DocumentHighlightRegistrationOptions
Auto Trait Implementations§
impl Freeze for DocumentHighlightRegistrationOptions
impl RefUnwindSafe for DocumentHighlightRegistrationOptions
impl Send for DocumentHighlightRegistrationOptions
impl Sync for DocumentHighlightRegistrationOptions
impl Unpin for DocumentHighlightRegistrationOptions
impl UnsafeUnpin for DocumentHighlightRegistrationOptions
impl UnwindSafe for DocumentHighlightRegistrationOptions
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