pub struct ProjectComponent { /* private fields */ }
Implementations§
Source§impl ProjectComponent
impl ProjectComponent
pub fn active<T>(self, value: T) -> Self
pub fn category<T>(self, value: T) -> Self
pub fn component_id<T>(self, value: T) -> Self
pub fn component_slug<T>(self, value: T) -> Self
pub fn component_version<T>(self, value: T) -> Self
pub fn id<T>(self, value: T) -> Self
pub fn object<T>(self, value: T) -> Self
pub fn settings<T>(self, value: T) -> Self
pub fn subcategory<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for ProjectComponent
impl Clone for ProjectComponent
Source§fn clone(&self) -> ProjectComponent
fn clone(&self) -> ProjectComponent
Returns a copy 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 moreSource§impl Debug for ProjectComponent
impl Debug for ProjectComponent
Source§impl Default for ProjectComponent
impl Default for ProjectComponent
Source§impl From<ProjectComponent> for ProjectComponent
impl From<ProjectComponent> for ProjectComponent
Source§fn from(value: ProjectComponent) -> Self
fn from(value: ProjectComponent) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ProjectComponent> for ProjectComponent
impl TryFrom<ProjectComponent> for ProjectComponent
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProjectComponent) -> Result<Self, ConversionError>
fn try_from(value: ProjectComponent) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProjectComponent
impl RefUnwindSafe for ProjectComponent
impl Send for ProjectComponent
impl Sync for ProjectComponent
impl Unpin for ProjectComponent
impl UnwindSafe for ProjectComponent
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