pub struct CommonFieldsBuilder { /* private fields */ }Expand description
Builder for CommonFields.
Implementations§
Source§impl CommonFieldsBuilder
impl CommonFieldsBuilder
pub fn path<VALUE: Into<PathID>>(&mut self, value: VALUE) -> &mut Self
pub fn time_format<VALUE: Into<TimeFormat>>( &mut self, value: VALUE, ) -> &mut Self
pub fn reference_time<VALUE: Into<ReferenceTime>>( &mut self, value: VALUE, ) -> &mut Self
pub fn protocol_types<VALUE: Into<ProtocolTypeList>>( &mut self, value: VALUE, ) -> &mut Self
pub fn group_id<VALUE: Into<GroupID>>(&mut self, value: VALUE) -> &mut Self
pub fn custom_fields<VALUE: Into<HashMap<String, Value>>>( &mut self, value: VALUE, ) -> &mut Self
Source§impl CommonFieldsBuilder
impl CommonFieldsBuilder
pub fn build(&mut self) -> CommonFields
Trait Implementations§
Source§impl Clone for CommonFieldsBuilder
impl Clone for CommonFieldsBuilder
Source§fn clone(&self) -> CommonFieldsBuilder
fn clone(&self) -> CommonFieldsBuilder
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CommonFieldsBuilder
impl RefUnwindSafe for CommonFieldsBuilder
impl Send for CommonFieldsBuilder
impl Sync for CommonFieldsBuilder
impl Unpin for CommonFieldsBuilder
impl UnwindSafe for CommonFieldsBuilder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)