pub struct CodeGraphSelectionExplanation {
pub selector: String,
pub block_id: BlockId,
pub selected: bool,
pub focus: bool,
pub pinned: bool,
pub detail_level: Option<CodeGraphDetailLevel>,
pub origin: Option<CodeGraphSelectionOrigin>,
pub explanation: String,
pub node: Option<CodeGraphNodeSummary>,
pub anchor: Option<CodeGraphNodeSummary>,
pub provenance_chain: Vec<CodeGraphProvenanceStep>,
}Fields§
§selector: String§block_id: BlockId§selected: bool§focus: bool§pinned: bool§detail_level: Option<CodeGraphDetailLevel>§origin: Option<CodeGraphSelectionOrigin>§explanation: String§node: Option<CodeGraphNodeSummary>§anchor: Option<CodeGraphNodeSummary>§provenance_chain: Vec<CodeGraphProvenanceStep>Trait Implementations§
Source§impl Clone for CodeGraphSelectionExplanation
impl Clone for CodeGraphSelectionExplanation
Source§fn clone(&self) -> CodeGraphSelectionExplanation
fn clone(&self) -> CodeGraphSelectionExplanation
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<'de> Deserialize<'de> for CodeGraphSelectionExplanation
impl<'de> Deserialize<'de> for CodeGraphSelectionExplanation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphSelectionExplanation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphSelectionExplanation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CodeGraphSelectionExplanation
impl Serialize for CodeGraphSelectionExplanation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CodeGraphSelectionExplanation
impl RefUnwindSafe for CodeGraphSelectionExplanation
impl Send for CodeGraphSelectionExplanation
impl Sync for CodeGraphSelectionExplanation
impl Unpin for CodeGraphSelectionExplanation
impl UnsafeUnpin for CodeGraphSelectionExplanation
impl UnwindSafe for CodeGraphSelectionExplanation
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