pub struct ResourceMetaBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ResourceMetaBuilder<S>
impl<S: State> ResourceMetaBuilder<S>
Sourcepub fn build(self) -> ResourceMetawhere
S: IsComplete,
pub fn build(self) -> ResourceMetawhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn resource_type(
self,
value: String,
) -> ResourceMetaBuilder<SetResourceType<S>>where
S::ResourceType: IsUnset,
pub fn resource_type(
self,
value: String,
) -> ResourceMetaBuilder<SetResourceType<S>>where
S::ResourceType: IsUnset,
Required.
Sourcepub fn location(self, value: String) -> ResourceMetaBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(self, value: String) -> ResourceMetaBuilder<SetLocation<S>>where
S::Location: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for ResourceMetaBuilder<S>
impl<S> RefUnwindSafe for ResourceMetaBuilder<S>
impl<S> Send for ResourceMetaBuilder<S>
impl<S> Sync for ResourceMetaBuilder<S>
impl<S> Unpin for ResourceMetaBuilder<S>
impl<S> UnwindSafe for ResourceMetaBuilder<S>
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