pub struct ComponentCreateInput { /* private fields */ }
Implementations§
Source§impl ComponentCreateInput
impl ComponentCreateInput
pub fn avatar_url<T>(self, value: T) -> Self
pub fn category<T>(self, value: T) -> Self
pub fn description<T>(self, value: T) -> Self
pub fn documentation_link<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn organization_id<T>(self, value: T) -> Self
pub fn public<T>(self, value: T) -> Self
pub fn repo_link<T>(self, value: T) -> Self
pub fn slug<T>(self, value: T) -> Self
pub fn subcategory<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for ComponentCreateInput
impl Clone for ComponentCreateInput
Source§fn clone(&self) -> ComponentCreateInput
fn clone(&self) -> ComponentCreateInput
Returns a duplicate 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 ComponentCreateInput
impl Debug for ComponentCreateInput
Source§impl Default for ComponentCreateInput
impl Default for ComponentCreateInput
Source§impl From<ComponentCreateInput> for ComponentCreateInput
impl From<ComponentCreateInput> for ComponentCreateInput
Source§fn from(value: ComponentCreateInput) -> Self
fn from(value: ComponentCreateInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ComponentCreateInput> for ComponentCreateInput
impl TryFrom<ComponentCreateInput> for ComponentCreateInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ComponentCreateInput) -> Result<Self, ConversionError>
fn try_from(value: ComponentCreateInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ComponentCreateInput
impl RefUnwindSafe for ComponentCreateInput
impl Send for ComponentCreateInput
impl Sync for ComponentCreateInput
impl Unpin for ComponentCreateInput
impl UnwindSafe for ComponentCreateInput
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