pub struct CreateRequestResponse {
pub description: String,
pub id: String,
pub name: String,
pub requester_id: String,
pub slug: String,
}Expand description
CreateRequestResponse
JSON schema
{
"type": "object",
"required": [
"description",
"id",
"name",
"requesterId",
"slug"
],
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"requesterId": {
"type": "string"
},
"slug": {
"type": "string"
}
}
}Fields§
§description: String§id: String§name: String§requester_id: String§slug: StringImplementations§
Source§impl CreateRequestResponse
impl CreateRequestResponse
pub fn builder() -> CreateRequestResponse
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<'de> Deserialize<'de> for CreateRequestResponse
impl<'de> Deserialize<'de> for CreateRequestResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 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 Serialize for CreateRequestResponse
impl Serialize for CreateRequestResponse
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