pub struct ServiceEntry {
pub metadata: ServiceMetadata,
pub instance: Option<Box<dyn Any + Send + Sync>>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
服务条目
Fields§
§metadata: ServiceMetadata服务元数据
instance: Option<Box<dyn Any + Send + Sync>>服务实例
created_at: DateTime<Utc>创建时间
updated_at: DateTime<Utc>最后更新时间
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServiceEntry
impl !RefUnwindSafe for ServiceEntry
impl Send for ServiceEntry
impl Sync for ServiceEntry
impl Unpin for ServiceEntry
impl UnsafeUnpin for ServiceEntry
impl !UnwindSafe for ServiceEntry
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