pub struct ExternalReviewAnchorMapping {
pub status: ExternalAnchorMappingStatus,
pub anchor: Option<DraftAnchor>,
pub message: Option<String>,
}Expand description
Provider-neutral mapping from external diff coordinates to a local anchor.
Fields§
§status: ExternalAnchorMappingStatusMapping result.
anchor: Option<DraftAnchor>Local anchor when mapping succeeded.
message: Option<String>Human-readable mapping explanation.
Trait Implementations§
Source§impl Clone for ExternalReviewAnchorMapping
impl Clone for ExternalReviewAnchorMapping
Source§impl Debug for ExternalReviewAnchorMapping
impl Debug for ExternalReviewAnchorMapping
Source§impl<'de> Deserialize<'de> for ExternalReviewAnchorMapping
impl<'de> Deserialize<'de> for ExternalReviewAnchorMapping
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 ExternalReviewAnchorMapping
impl StructuralPartialEq for ExternalReviewAnchorMapping
Auto Trait Implementations§
impl Freeze for ExternalReviewAnchorMapping
impl RefUnwindSafe for ExternalReviewAnchorMapping
impl Send for ExternalReviewAnchorMapping
impl Sync for ExternalReviewAnchorMapping
impl Unpin for ExternalReviewAnchorMapping
impl UnsafeUnpin for ExternalReviewAnchorMapping
impl UnwindSafe for ExternalReviewAnchorMapping
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