[][src]Struct grapl_graph_descriptions_py::file_node::FileNodeBuilder

pub struct FileNodeBuilder { /* fields omitted */ }

Methods

impl FileNodeBuilder[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Trait Implementations

impl Clone for FileNodeBuilder[src]

impl Default for FileNodeBuilder[src]

impl IntoPy<PyObject> for FileNodeBuilder[src]

impl PyMethodsInventoryDispatch for FileNodeBuilder[src]

type InventoryType = FileNodeBuilderGeneratedPyo3Inventory

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

impl PyObjectAlloc for FileNodeBuilder[src]

impl PyTypeInfo for FileNodeBuilder[src]

type Type = FileNodeBuilder

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