pub struct UserBuilder {
pub user: String,
pub group: Option<String>,
}Expand description
Builder struct for USER instruction
Format according to Dockerfile reference:
USER <user>orUSER <user>:<group>USER: dockerfile_builder::instruction::USER
Fields§
§user: String§group: Option<String>Implementations§
Source§impl UserBuilder
impl UserBuilder
Sourcepub fn builder() -> UserBuilderInner
pub fn builder() -> UserBuilderInner
Builder implementation - All set methods can be found in UserBuilderInner
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserBuilder
impl RefUnwindSafe for UserBuilder
impl Send for UserBuilder
impl Sync for UserBuilder
impl Unpin for UserBuilder
impl UnwindSafe for UserBuilder
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