Struct pavex_reflection::RawCallableIdentifiers
source · pub struct RawCallableIdentifiers {
pub registered_at: RegisteredAt,
pub import_path: String,
}Expand description
All the information required to identify a callable registered against a Blueprint.
It is an implementation detail of the builder.
Fields§
§registered_at: RegisteredAtInformation on the callsite where the callable was registered with the [Blueprint].
import_path: StringA fully-qualified path pointing at a callable.
Implementations§
source§impl RawCallableIdentifiers
impl RawCallableIdentifiers
pub fn from_raw_parts(import_path: String, registered_at: RegisteredAt) -> Self
sourcepub fn fully_qualified_path(&self) -> Vec<String>
pub fn fully_qualified_path(&self) -> Vec<String>
Return an unambiguous fully-qualified path pointing at the callable.
The returned path can be used to import the callable.
pub fn registered_at(&self) -> &RegisteredAt
Trait Implementations§
source§impl Clone for RawCallableIdentifiers
impl Clone for RawCallableIdentifiers
source§fn clone(&self) -> RawCallableIdentifiers
fn clone(&self) -> RawCallableIdentifiers
Returns a copy 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 RawCallableIdentifiers
impl Debug for RawCallableIdentifiers
source§impl<'de> Deserialize<'de> for RawCallableIdentifiers
impl<'de> Deserialize<'de> for RawCallableIdentifiers
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
source§impl Hash for RawCallableIdentifiers
impl Hash for RawCallableIdentifiers
source§impl PartialEq for RawCallableIdentifiers
impl PartialEq for RawCallableIdentifiers
source§fn eq(&self, other: &RawCallableIdentifiers) -> bool
fn eq(&self, other: &RawCallableIdentifiers) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RawCallableIdentifiers
impl Serialize for RawCallableIdentifiers
impl Eq for RawCallableIdentifiers
impl StructuralPartialEq for RawCallableIdentifiers
Auto Trait Implementations§
impl RefUnwindSafe for RawCallableIdentifiers
impl Send for RawCallableIdentifiers
impl Sync for RawCallableIdentifiers
impl Unpin for RawCallableIdentifiers
impl UnwindSafe for RawCallableIdentifiers
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