pub struct SoftwareTopic {
pub topic_id: String,
pub repository_id: String,
pub source_scope: String,
pub name: String,
pub topic_kind: String,
pub source_path: String,
pub line_range: RepositoryCodeRange,
pub created_graph_version: GraphVersion,
}Expand description
Topic extracted from repository documentation or the repository knowledge map.
Fields§
§topic_id: String§repository_id: String§source_scope: String§name: String§topic_kind: String§source_path: String§line_range: RepositoryCodeRange§created_graph_version: GraphVersionImplementations§
Source§impl SoftwareTopic
impl SoftwareTopic
Sourcepub fn new(input: SoftwareTopicInput) -> Result<Self, DomainError>
pub fn new(input: SoftwareTopicInput) -> Result<Self, DomainError>
Creates a stable topic identity tied to the source evidence location.
Trait Implementations§
Source§impl Clone for SoftwareTopic
impl Clone for SoftwareTopic
Source§fn clone(&self) -> SoftwareTopic
fn clone(&self) -> SoftwareTopic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SoftwareTopic
impl Debug for SoftwareTopic
Source§impl<'de> Deserialize<'de> for SoftwareTopic
impl<'de> Deserialize<'de> for SoftwareTopic
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 SoftwareTopic
Source§impl PartialEq for SoftwareTopic
impl PartialEq for SoftwareTopic
Source§impl Serialize for SoftwareTopic
impl Serialize for SoftwareTopic
impl StructuralPartialEq for SoftwareTopic
Auto Trait Implementations§
impl Freeze for SoftwareTopic
impl RefUnwindSafe for SoftwareTopic
impl Send for SoftwareTopic
impl Sync for SoftwareTopic
impl Unpin for SoftwareTopic
impl UnsafeUnpin for SoftwareTopic
impl UnwindSafe for SoftwareTopic
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.