pub struct SerializableNode {
pub id: String,
pub name: String,
pub kind: String,
pub file: PathBuf,
pub span: SerializableSpan,
pub attributes: HashMap<String, String>,
}
Expand description
Serializable representation of a graph node
Fields§
§id: String
§name: String
§kind: String
§file: PathBuf
§span: SerializableSpan
§attributes: HashMap<String, String>
Implementations§
Trait Implementations§
Source§impl Clone for SerializableNode
impl Clone for SerializableNode
Source§fn clone(&self) -> SerializableNode
fn clone(&self) -> SerializableNode
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 SerializableNode
impl Debug for SerializableNode
Source§impl<'de> Deserialize<'de> for SerializableNode
impl<'de> Deserialize<'de> for SerializableNode
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
Auto Trait Implementations§
impl Freeze for SerializableNode
impl RefUnwindSafe for SerializableNode
impl Send for SerializableNode
impl Sync for SerializableNode
impl Unpin for SerializableNode
impl UnwindSafe for SerializableNode
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