pub struct AssetBuilder { /* private fields */ }
Expand description
Builder for Asset
.
Implementations§
Source§impl AssetBuilder
impl AssetBuilder
pub fn node_key<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn asset_id<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn hostname<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn mac_address<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn first_seen_timestamp<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn last_seen_timestamp<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for AssetBuilder
impl Clone for AssetBuilder
Source§fn clone(&self) -> AssetBuilder
fn clone(&self) -> AssetBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AssetBuilder
impl Default for AssetBuilder
Source§fn default() -> AssetBuilder
fn default() -> AssetBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AssetBuilder
impl RefUnwindSafe for AssetBuilder
impl Send for AssetBuilder
impl Sync for AssetBuilder
impl Unpin for AssetBuilder
impl UnwindSafe for AssetBuilder
Blanket Implementations§
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