[][src]Struct grapl_graph_descriptions_py::network_connection_node::NetworkConnectionNodeBuilder

pub struct NetworkConnectionNodeBuilder { /* fields omitted */ }

Methods

impl NetworkConnectionNodeBuilder[src]

pub fn with_src_ip_address(&mut self, src_ip_address: String) -> Self[src]

pub fn with_dst_ip_address(&mut self, dst_ip_address: String) -> Self[src]

pub fn with_src_port(&mut self, src_port: u16) -> Self[src]

pub fn with_dst_port(&mut self, dst_port: u16) -> Self[src]

pub fn with_protocol(&mut self, protocol: String) -> Self[src]

pub fn with_state(&mut self, state: u32) -> Self[src]

pub fn with_created_timestamp(&mut self, created_timestamp: u64) -> Self[src]

pub fn with_terminated_timestamp(&mut self, terminated_timestamp: u64) -> Self[src]

pub fn with_last_seen_timestamp(&mut self, last_seen_timestamp: u64) -> Self[src]

pub fn build(&self) -> PyResult<NetworkConnectionNode>[src]

Trait Implementations

impl Clone for NetworkConnectionNodeBuilder[src]

impl Default for NetworkConnectionNodeBuilder[src]

impl IntoPy<PyObject> for NetworkConnectionNodeBuilder[src]

impl PyMethodsInventoryDispatch for NetworkConnectionNodeBuilder[src]

type InventoryType = NetworkConnectionNodeBuilderGeneratedPyo3Inventory

This allows us to get the inventory type when only the pyclass is in scope

impl PyObjectAlloc for NetworkConnectionNodeBuilder[src]

impl PyTypeInfo for NetworkConnectionNodeBuilder[src]

type Type = NetworkConnectionNodeBuilder

Type of objects to store in PyObject struct

type BaseType = PyAny

Base class

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 
[src]

impl<T> PyMethodsProtocol for T where
    T: PyMethodsInventoryDispatch, 
[src]

impl<T> PyObjectAlloc for T where
    T: PyObjectWithFreeList
[src]

impl<'v, T> PyTryFrom<'v> for T where
    T: PyTypeInfo
[src]

impl<T> PyTypeCreate for T where
    T: PyObjectAlloc + PyTypeObject
[src]

impl<T> PyTypeObject for T where
    T: PyTypeInfo + PyMethodsProtocol + PyObjectAlloc
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,