pub struct EnvironmentResponse {
pub description: Option<String>,
pub id: i64,
pub is_predefined: bool,
pub name: String,
pub project_id: i64,
}Expand description
Environment information.
JSON schema
{
"title": "EnvironmentResponse",
"description": "Environment information.",
"type": "object",
"required": [
"description",
"id",
"is_predefined",
"name",
"project_id"
],
"properties": {
"description": {
"title": "Description",
"type": [
"string",
"null"
]
},
"id": {
"title": "Id",
"type": "integer"
},
"is_predefined": {
"title": "Is Predefined",
"type": "boolean"
},
"name": {
"title": "Name",
"type": "string"
},
"project_id": {
"title": "Project Id",
"type": "integer"
}
}
}Fields§
§description: Option<String>§id: i64§is_predefined: bool§name: String§project_id: i64Implementations§
Source§impl EnvironmentResponse
impl EnvironmentResponse
pub fn builder() -> EnvironmentResponse
Trait Implementations§
Source§impl Clone for EnvironmentResponse
impl Clone for EnvironmentResponse
Source§fn clone(&self) -> EnvironmentResponse
fn clone(&self) -> EnvironmentResponse
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 EnvironmentResponse
impl Debug for EnvironmentResponse
Source§impl<'de> Deserialize<'de> for EnvironmentResponse
impl<'de> Deserialize<'de> for EnvironmentResponse
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<&EnvironmentResponse> for EnvironmentResponse
impl From<&EnvironmentResponse> for EnvironmentResponse
Source§fn from(value: &EnvironmentResponse) -> Self
fn from(value: &EnvironmentResponse) -> Self
Converts to this type from the input type.
Source§impl From<EnvironmentResponse> for EnvironmentResponse
impl From<EnvironmentResponse> for EnvironmentResponse
Source§fn from(value: EnvironmentResponse) -> Self
fn from(value: EnvironmentResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for EnvironmentResponse
impl Serialize for EnvironmentResponse
Source§impl TryFrom<EnvironmentResponse> for EnvironmentResponse
impl TryFrom<EnvironmentResponse> for EnvironmentResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EnvironmentResponse) -> Result<Self, ConversionError>
fn try_from(value: EnvironmentResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EnvironmentResponse
impl RefUnwindSafe for EnvironmentResponse
impl Send for EnvironmentResponse
impl Sync for EnvironmentResponse
impl Unpin for EnvironmentResponse
impl UnwindSafe for EnvironmentResponse
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