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