Struct sn0int::models::InsertPort
source · pub struct InsertPort {
pub ip_addr_id: i32,
pub ip_addr: IpAddr,
pub port: i32,
pub protocol: String,
pub status: Option<String>,
pub banner: Option<String>,
pub service: Option<String>,
pub version: Option<String>,
}
Fields§
§ip_addr_id: i32
§ip_addr: IpAddr
§port: i32
§protocol: String
§status: Option<String>
§service: Option<String>
§version: Option<String>
Trait Implementations§
source§impl Debug for InsertPort
impl Debug for InsertPort
source§impl<'de> Deserialize<'de> for InsertPort
impl<'de> Deserialize<'de> for InsertPort
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
source§impl InsertToNew for InsertPort
impl InsertToNew for InsertPort
Auto Trait Implementations§
impl RefUnwindSafe for InsertPort
impl Send for InsertPort
impl Sync for InsertPort
impl Unpin for InsertPort
impl UnwindSafe for InsertPort
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
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
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere &'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more