pub struct ServiceCreateResponse {
pub id: Option<String>,
pub warnings: Option<Vec<String>>,
}
Available on crate feature
v5
only.Expand description
ServiceCreateResponse contains the information returned to a client on the creation of a new service.
Fields§
§id: Option<String>
The ID of the created service.
warnings: Option<Vec<String>>
Optional warning message.
FIXME(thaJeztah): this should have “omitempty” in the generated type.
Trait Implementations§
Source§impl Debug for ServiceCreateResponse
impl Debug for ServiceCreateResponse
Source§impl Default for ServiceCreateResponse
impl Default for ServiceCreateResponse
Source§fn default() -> ServiceCreateResponse
fn default() -> ServiceCreateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceCreateResponse
impl<'de> Deserialize<'de> for ServiceCreateResponse
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
Auto Trait Implementations§
impl Freeze for ServiceCreateResponse
impl RefUnwindSafe for ServiceCreateResponse
impl Send for ServiceCreateResponse
impl Sync for ServiceCreateResponse
impl Unpin for ServiceCreateResponse
impl UnwindSafe for ServiceCreateResponse
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