pub struct GraphSelectionExplanation {
pub block_id: BlockId,
pub selected: bool,
pub focus: bool,
pub pinned: bool,
pub detail_level: Option<GraphDetailLevel>,
pub origin: Option<GraphSelectionOrigin>,
pub explanation: String,
pub node: Option<GraphNodeSummary>,
pub anchor: Option<GraphNodeSummary>,
}Fields§
§block_id: BlockId§selected: bool§focus: bool§pinned: bool§detail_level: Option<GraphDetailLevel>§origin: Option<GraphSelectionOrigin>§explanation: String§node: Option<GraphNodeSummary>§anchor: Option<GraphNodeSummary>Trait Implementations§
Source§impl Clone for GraphSelectionExplanation
impl Clone for GraphSelectionExplanation
Source§fn clone(&self) -> GraphSelectionExplanation
fn clone(&self) -> GraphSelectionExplanation
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 Debug for GraphSelectionExplanation
impl Debug for GraphSelectionExplanation
Source§impl<'de> Deserialize<'de> for GraphSelectionExplanation
impl<'de> Deserialize<'de> for GraphSelectionExplanation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GraphSelectionExplanation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GraphSelectionExplanation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GraphSelectionExplanation
impl Serialize for GraphSelectionExplanation
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 GraphSelectionExplanation
impl RefUnwindSafe for GraphSelectionExplanation
impl Send for GraphSelectionExplanation
impl Sync for GraphSelectionExplanation
impl Unpin for GraphSelectionExplanation
impl UnsafeUnpin for GraphSelectionExplanation
impl UnwindSafe for GraphSelectionExplanation
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