pub struct DomainObject {
pub id: String,
pub name: String,
pub object_type: String,
pub domain: String,
pub definition_location: ReferenceLocation,
pub qualified_name: String,
pub metadata: HashMap<String, String>,
pub signature: Option<String>,
pub docstring: Option<String>,
}Expand description
Represents an object within a domain (function, class, etc.)
Fields§
§id: StringUnique identifier for the object
name: StringHuman-readable name
object_type: StringType of object
domain: StringDomain this object belongs to
definition_location: ReferenceLocationLocation where object is defined
qualified_name: StringFull qualified name (e.g., module.class.method)
metadata: HashMap<String, String>Additional metadata specific to object type
signature: Option<String>Signature for functions/methods
docstring: Option<String>Documentation string
Trait Implementations§
Source§impl Clone for DomainObject
impl Clone for DomainObject
Source§fn clone(&self) -> DomainObject
fn clone(&self) -> DomainObject
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 moreAuto Trait Implementations§
impl Freeze for DomainObject
impl RefUnwindSafe for DomainObject
impl Send for DomainObject
impl Sync for DomainObject
impl Unpin for DomainObject
impl UnwindSafe for DomainObject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more