pub struct CreateHostRequestBuilder { /* private fields */ }Implementations§
Source§impl CreateHostRequestBuilder
impl CreateHostRequestBuilder
pub fn new(host: impl ToString) -> Self
pub fn name(self, name: impl ToString) -> Self
pub fn group(self, group_id: impl ToString) -> Self
pub fn groups(self, groups: Vec<ZabbixHostGroupId>) -> Self
pub fn interface(self, interface: ZabbixHostInterface) -> Self
pub fn interfaces(self, interfaces: Vec<ZabbixHostInterface>) -> Self
pub fn tag(self, tag: impl ToString, value: impl ToString) -> Self
pub fn template(self, template_id: impl ToString) -> Self
pub fn templates(self, templates: Vec<ZabbixTemplateId>) -> Self
pub fn macro_entry(self, macro_entry: CreateZabbixHostMacro) -> Self
pub fn macros(self, macros: Vec<CreateZabbixHostMacro>) -> Self
pub fn inventory_mode(self, mode: InventoryMode) -> Self
pub fn inventory_disabled(self) -> Self
pub fn inventory_manual(self) -> Self
pub fn inventory_automatic(self) -> Self
pub fn inventory(self, inventory: ZabbixHostInventory) -> Self
pub fn tls_psk(self, psk_identity: impl ToString, psk: impl ToString) -> Self
pub fn tls_cert(self, issuer: impl ToString, subject: impl ToString) -> Self
pub fn tls_config(self, tls_config: TlsConfig) -> Self
pub fn build(self) -> CreateHostRequest
Auto Trait Implementations§
impl Freeze for CreateHostRequestBuilder
impl RefUnwindSafe for CreateHostRequestBuilder
impl Send for CreateHostRequestBuilder
impl Sync for CreateHostRequestBuilder
impl Unpin for CreateHostRequestBuilder
impl UnwindSafe for CreateHostRequestBuilder
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