pub struct TokenInfo {
pub token_name: String,
pub service_name: String,
pub total_bindings: usize,
pub has_default: bool,
pub named_bindings: Vec<String>,
pub implementation_types: Vec<String>,
}
Expand description
Detailed information about a specific token for debugging and validation
Fields§
§token_name: String
The token type name
service_name: String
The service type name this token represents
total_bindings: usize
Total number of bindings for this token
has_default: bool
Whether this token has a default binding
named_bindings: Vec<String>
List of named binding identifiers
implementation_types: Vec<String>
List of implementation type names
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenInfo
impl RefUnwindSafe for TokenInfo
impl Send for TokenInfo
impl Sync for TokenInfo
impl Unpin for TokenInfo
impl UnwindSafe for TokenInfo
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