pub struct NotificationIdentity {
pub service: String,
pub instance: String,
pub environment: Option<String>,
pub cluster: Option<String>,
}Expand description
启动期冻结的通知来源身份;与指标出口使用同一进程标识。
Fields§
§service: String产生通知的稳定服务名。
instance: String产生通知的进程实例身份。
environment: Option<String>可选部署环境身份。
cluster: Option<String>可选部署集群身份。
Trait Implementations§
Source§impl Clone for NotificationIdentity
impl Clone for NotificationIdentity
Source§impl Debug for NotificationIdentity
impl Debug for NotificationIdentity
Source§impl Default for NotificationIdentity
impl Default for NotificationIdentity
impl Eq for NotificationIdentity
Source§impl PartialEq for NotificationIdentity
impl PartialEq for NotificationIdentity
impl StructuralPartialEq for NotificationIdentity
Auto Trait Implementations§
impl Forget for NotificationIdentity
impl Freeze for NotificationIdentity
impl Move for NotificationIdentity
impl RefUnwindSafe for NotificationIdentity
impl Send for NotificationIdentity
impl Sync for NotificationIdentity
impl Unpin for NotificationIdentity
impl UnsafeUnpin for NotificationIdentity
impl UnwindSafe for NotificationIdentity
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