pub struct OperateNodeRequestBuilder { /* private fields */ }Expand description
Builder for OperateNodeRequest.
Implementations§
Source§impl OperateNodeRequestBuilder
impl OperateNodeRequestBuilder
pub fn action<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn rollback_reason<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn node_owners<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn node_schedule<VALUE: Into<Schedule>>( &mut self, value: VALUE, ) -> &mut Self
pub fn schedules<VALUE: Into<Vec<Schedule>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn fields<VALUE: Into<Vec<FieldValuePair>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn role_assignee<VALUE: Into<Vec<RoleOwner>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<OperateNodeRequest, OperateNodeRequestBuilderError>
pub fn build( &self, ) -> Result<OperateNodeRequest, OperateNodeRequestBuilderError>
Trait Implementations§
Source§impl Clone for OperateNodeRequestBuilder
impl Clone for OperateNodeRequestBuilder
Source§fn clone(&self) -> OperateNodeRequestBuilder
fn clone(&self) -> OperateNodeRequestBuilder
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 moreAuto Trait Implementations§
impl Freeze for OperateNodeRequestBuilder
impl RefUnwindSafe for OperateNodeRequestBuilder
impl Send for OperateNodeRequestBuilder
impl Sync for OperateNodeRequestBuilder
impl Unpin for OperateNodeRequestBuilder
impl UnwindSafe for OperateNodeRequestBuilder
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