pub struct SiemCommandHeader {
pub user: String,
pub comp_id: u64,
pub comm_id: u64,
}Fields§
§user: StringUser that created the command
comp_id: u64Component ID that created the command or the response
comm_id: u64Internal command ID: serves as an internal mapping betwen components as to replay to a specific component
COMMAND => (COMPONENT) CMP_ID ->(KERNEL)-> CMP_ID<=>CMP_KRNL_ID ->(OTHER COMPONENT) -> CMP_KRNL_ID
RESPONSE => (OTHER COMPONENT) RSP_ID=CMP_KRNL_ID ->(KERNEL)-> RSP_ID=CMP_KRNL_ID<=>CMP_ID -> (COMPONENT) -> CMP_ID
Implementations§
Trait Implementations§
Source§impl Debug for SiemCommandHeader
impl Debug for SiemCommandHeader
Source§impl Default for SiemCommandHeader
impl Default for SiemCommandHeader
Source§fn default() -> SiemCommandHeader
fn default() -> SiemCommandHeader
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SiemCommandHeader
impl<'de> Deserialize<'de> for SiemCommandHeader
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
Auto Trait Implementations§
impl Freeze for SiemCommandHeader
impl RefUnwindSafe for SiemCommandHeader
impl Send for SiemCommandHeader
impl Sync for SiemCommandHeader
impl Unpin for SiemCommandHeader
impl UnwindSafe for SiemCommandHeader
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