pub enum CodeGraphSessionEvent {
Mutation {
mutation: Box<CodeGraphSessionMutation>,
},
Recommendation {
recommendation: Box<CodeGraphRecommendation>,
},
SessionSaved {
metadata: CodeGraphSessionPersistenceMetadata,
},
SessionLoaded {
metadata: CodeGraphSessionPersistenceMetadata,
},
}Variants§
Mutation
Fields
§
mutation: Box<CodeGraphSessionMutation>Recommendation
Fields
§
recommendation: Box<CodeGraphRecommendation>SessionSaved
Fields
§
metadata: CodeGraphSessionPersistenceMetadataSessionLoaded
Fields
§
metadata: CodeGraphSessionPersistenceMetadataTrait Implementations§
Source§impl Clone for CodeGraphSessionEvent
impl Clone for CodeGraphSessionEvent
Source§fn clone(&self) -> CodeGraphSessionEvent
fn clone(&self) -> CodeGraphSessionEvent
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 CodeGraphSessionEvent
impl Debug for CodeGraphSessionEvent
Source§impl<'de> Deserialize<'de> for CodeGraphSessionEvent
impl<'de> Deserialize<'de> for CodeGraphSessionEvent
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 CodeGraphSessionEvent
impl RefUnwindSafe for CodeGraphSessionEvent
impl Send for CodeGraphSessionEvent
impl Sync for CodeGraphSessionEvent
impl Unpin for CodeGraphSessionEvent
impl UnsafeUnpin for CodeGraphSessionEvent
impl UnwindSafe for CodeGraphSessionEvent
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