pub struct LinkMatch {
pub open_idx: usize,
pub close_idx: usize,
pub inner_text: String,
pub url: String,
}Expand description
Match payload specifically for [text](url). Carries both the
text and the URL so the React side can store href on the mark.
Fields§
§open_idx: usize§close_idx: usize§inner_text: String§url: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for LinkMatch
impl<'de> Deserialize<'de> for LinkMatch
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 LinkMatch
impl StructuralPartialEq for LinkMatch
Auto Trait Implementations§
impl Forget for LinkMatch
impl Freeze for LinkMatch
impl RefUnwindSafe for LinkMatch
impl Send for LinkMatch
impl Sync for LinkMatch
impl Unpin for LinkMatch
impl UnsafeUnpin for LinkMatch
impl UnwindSafe for LinkMatch
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