[−][src]Struct grapl_graph_descriptions_py::process_node::ProcessNodeBuilder
Methods
impl ProcessNodeBuilder
[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_state(&mut self, state: u32) -> Self
[src]
pub fn with_process_id(&mut self, process_id: u64) -> 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_terminated_timestamp_ms(&mut self, timestamp: u64) -> Self
[src]
pub fn with_process_name(&mut self, process_name: Option<String>) -> Self
[src]
pub fn with_operating_system(
&mut self,
operating_system: Option<String>
) -> Self
[src]
&mut self,
operating_system: Option<String>
) -> Self
pub fn with_process_command_line(
&mut self,
process_command_line: Option<String>
) -> Self
[src]
&mut self,
process_command_line: Option<String>
) -> Self
pub fn with_process_guid(&mut self, process_guid: Option<String>) -> Self
[src]
pub fn build(&self) -> PyResult<ProcessNode>
[src]
Trait Implementations
impl Clone for ProcessNodeBuilder
[src]
fn clone(&self) -> ProcessNodeBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ProcessNodeBuilder
[src]
fn default() -> ProcessNodeBuilder
[src]
impl IntoPy<PyObject> for ProcessNodeBuilder
[src]
impl PyMethodsInventoryDispatch for ProcessNodeBuilder
[src]
type InventoryType = ProcessNodeBuilderGeneratedPyo3Inventory
This allows us to get the inventory type when only the pyclass is in scope
impl PyObjectAlloc for ProcessNodeBuilder
[src]
unsafe fn alloc(_py: Python) -> *mut PyObject
[src]
unsafe fn dealloc(py: Python, obj: *mut PyObject)
[src]
unsafe fn drop(py: Python, obj: *mut PyObject)
[src]
impl PyTypeInfo for ProcessNodeBuilder
[src]
type Type = ProcessNodeBuilder
Type of objects to store in PyObject struct
type BaseType = PyAny
Base class
const NAME: &'static str
[src]
const MODULE: Option<&'static str>
[src]
const DESCRIPTION: &'static str
[src]
const FLAGS: usize
[src]
const SIZE: usize
[src]
const OFFSET: isize
[src]
unsafe fn type_object() -> &'static mut PyTypeObject
[src]
fn is_instance(object: &PyAny) -> bool
[src]
fn is_exact_instance(object: &PyAny) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProcessNodeBuilder
impl Send for ProcessNodeBuilder
impl Sync for ProcessNodeBuilder
impl Unpin for ProcessNodeBuilder
impl UnwindSafe for ProcessNodeBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T, U> IntoPy<U> for T where
U: FromPy<T>,
[src]
U: FromPy<T>,
impl<T> PyMethodsProtocol for T where
T: PyMethodsInventoryDispatch,
[src]
T: PyMethodsInventoryDispatch,
fn py_methods() -> Vec<&'static PyMethodDefType>
[src]
impl<T> PyObjectAlloc for T where
T: PyObjectWithFreeList,
[src]
T: PyObjectWithFreeList,
unsafe fn alloc(_py: Python) -> *mut PyObject
[src]
unsafe fn dealloc(py: Python, obj: *mut PyObject)
[src]
unsafe fn drop(py: Python, obj: *mut PyObject)
[src]
impl<'v, T> PyTryFrom<'v> for T where
T: PyTypeInfo,
[src]
T: PyTypeInfo,
fn try_from<V>(value: V) -> Result<&'v T, PyDowncastError> where
V: Into<&'v PyAny>,
[src]
V: Into<&'v PyAny>,
fn try_from_exact<V>(value: V) -> Result<&'v T, PyDowncastError> where
V: Into<&'v PyAny>,
[src]
V: Into<&'v PyAny>,
fn try_from_mut<V>(value: V) -> Result<&'v mut T, PyDowncastError> where
V: Into<&'v PyAny>,
[src]
V: Into<&'v PyAny>,
fn try_from_mut_exact<V>(value: V) -> Result<&'v mut T, PyDowncastError> where
V: Into<&'v PyAny>,
[src]
V: Into<&'v PyAny>,
unsafe fn try_from_unchecked<V>(value: V) -> &'v T where
V: Into<&'v PyAny>,
[src]
V: Into<&'v PyAny>,
unsafe fn try_from_mut_unchecked<V>(value: V) -> &'v mut T where
V: Into<&'v PyAny>,
[src]
V: Into<&'v PyAny>,
impl<T> PyTypeCreate for T where
T: PyObjectAlloc + PyTypeObject,
[src]
T: PyObjectAlloc + PyTypeObject,
impl<T> PyTypeObject for T where
T: PyTypeInfo + PyMethodsProtocol + PyObjectAlloc,
[src]
T: PyTypeInfo + PyMethodsProtocol + PyObjectAlloc,
fn init_type() -> NonNull<PyTypeObject>
[src]
fn type_object() -> Py<PyType>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,