[][src]Struct grapl_graph_descriptions_py::asset_node::AssetNodeBuilder

pub struct AssetNodeBuilder { /* fields omitted */ }

Methods

impl AssetNodeBuilder[src]

pub fn with_asset_id(&mut self, asset_id: Option<String>) -> Self[src]

pub fn with_hostname(&mut self, hostname: Option<String>) -> Self[src]

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

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

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

Trait Implementations

impl Clone for AssetNodeBuilder[src]

impl Default for AssetNodeBuilder[src]

impl IntoPy<PyObject> for AssetNodeBuilder[src]

impl PyMethodsInventoryDispatch for AssetNodeBuilder[src]

type InventoryType = AssetNodeBuilderGeneratedPyo3Inventory

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

impl PyObjectAlloc for AssetNodeBuilder[src]

impl PyTypeInfo for AssetNodeBuilder[src]

type Type = AssetNodeBuilder

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>,