#[non_exhaustive]pub struct ScriptOid {
pub id: String,
pub priority: Option<String>,
}Expand description
An oid <id> entry of an SNMP script file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: String§priority: Option<String>Registration priority, 1 to 255.
Trait Implementations§
impl Eq for ScriptOid
impl StructuralPartialEq for ScriptOid
Auto Trait Implementations§
impl Forget for ScriptOid
impl Freeze for ScriptOid
impl Move for ScriptOid
impl RefUnwindSafe for ScriptOid
impl Send for ScriptOidwhere
RawVecInner: Send,
impl Sync for ScriptOidwhere
RawVecInner: Sync,
impl Unpin for ScriptOid
impl UnsafeUnpin for ScriptOid
impl UnwindSafe for ScriptOidwhere
RawVecInner: UnwindSafe,
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