pub struct Common {
pub client_name: Option<String>,
pub client_style: Option<SdkClientStyle>,
pub package_version: Option<String>,
pub layout: Option<SourceLayout>,
}Expand description
Optional shared settings. Unset values remain unset until a plugin applies its defaults; false/flat/empty explicit values are never treated as absent.
Fields§
§client_name: Option<String>§client_style: Option<SdkClientStyle>§package_version: Option<String>§layout: Option<SourceLayout>Implementations§
Source§impl Common
impl Common
pub fn client_name(self, name: impl Into<String>) -> Self
pub fn client_style(self, style: SdkClientStyle) -> Self
pub fn package_version(self, version: impl Into<String>) -> Self
pub fn layout(self, layout: SourceLayout) -> Self
pub fn overlay(&self, local: &Self) -> Self
Trait Implementations§
impl Eq for Common
impl StructuralPartialEq for Common
Auto Trait Implementations§
impl Freeze for Common
impl RefUnwindSafe for Common
impl Send for Common
impl Sync for Common
impl Unpin for Common
impl UnsafeUnpin for Common
impl UnwindSafe for Common
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