pub struct ImportResourceBuilder { /* private fields */ }Expand description
Builder for ImportResource.
Implementations§
Source§impl ImportResourceBuilder
impl ImportResourceBuilder
pub fn exclude_controls<VALUE: Into<Vec<SelectControl>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn href<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn href<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A resolvable URL reference to the base catalog or profile that this profile is tailoring.
pub fn include_all<VALUE: Into<IncludeAll>>( &mut self, value: VALUE, ) -> &mut Self
pub fn include_controls<VALUE: Into<Vec<SelectControl>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<ImportResource, ImportResourceBuilderError>
pub fn build(&self) -> Result<ImportResource, ImportResourceBuilderError>
Trait Implementations§
Source§impl Clone for ImportResourceBuilder
impl Clone for ImportResourceBuilder
Source§fn clone(&self) -> ImportResourceBuilder
fn clone(&self) -> ImportResourceBuilder
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 ImportResourceBuilder
impl RefUnwindSafe for ImportResourceBuilder
impl Send for ImportResourceBuilder
impl Sync for ImportResourceBuilder
impl Unpin for ImportResourceBuilder
impl UnwindSafe for ImportResourceBuilder
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