pub struct UnstableSkillVersionFileInputBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> UnstableSkillVersionFileInputBuilder<S>
impl<S: State> UnstableSkillVersionFileInputBuilder<S>
Sourcepub fn build(self) -> UnstableSkillVersionFileInputwhere
S: IsComplete,
pub fn build(self) -> UnstableSkillVersionFileInputwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn path(
self,
value: String,
) -> UnstableSkillVersionFileInputBuilder<SetPath<S>>where
S::Path: IsUnset,
pub fn path(
self,
value: String,
) -> UnstableSkillVersionFileInputBuilder<SetPath<S>>where
S::Path: IsUnset,
Required.
Sourcepub fn content(
self,
value: String,
) -> UnstableSkillVersionFileInputBuilder<SetContent<S>>where
S::Content: IsUnset,
pub fn content(
self,
value: String,
) -> UnstableSkillVersionFileInputBuilder<SetContent<S>>where
S::Content: IsUnset,
Required.
UTF-8 text content. The server computes the hash and byte length.
Auto Trait Implementations§
impl<S> Freeze for UnstableSkillVersionFileInputBuilder<S>
impl<S> RefUnwindSafe for UnstableSkillVersionFileInputBuilder<S>
impl<S> Send for UnstableSkillVersionFileInputBuilder<S>
impl<S> Sync for UnstableSkillVersionFileInputBuilder<S>
impl<S> Unpin for UnstableSkillVersionFileInputBuilder<S>
impl<S> UnsafeUnpin for UnstableSkillVersionFileInputBuilder<S>
impl<S> UnwindSafe for UnstableSkillVersionFileInputBuilder<S>
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