[−][src]Struct bigml::resource::ResourceCommon
Fields which are present on all resources. This struct is "flattened" into
all types which implement Resource
using #[serde(flatten)]
, giving us a
sort of inheritence.
Fields
category: i64
Used to classify by industry or category. 0 is "Miscellaneous".
code: u16
An HTTP status code, typically either 201 or 200.
TODO: Deserialize as a reqwest::StatusCode
?
dev: Option<bool>
Was this created in development mode?
description: String
Text describing this resource. May contain limited Markdown.
name: String
The name of this resource.
Has this been shared using a private link?
subscription: bool
Was this created using a subscription plan?
User-defined tags.
Trait Implementations
impl Clone for ResourceCommon
[src]
fn clone(&self) -> ResourceCommon
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ResourceCommon
[src]
impl<'de> Deserialize<'de> for ResourceCommon
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ResourceCommon
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Updatable for ResourceCommon
[src]
type Update = ResourceCommonUpdate
The type of the data used to update this value.
Auto Trait Implementations
impl RefUnwindSafe for ResourceCommon
impl Send for ResourceCommon
impl Sync for ResourceCommon
impl Unpin for ResourceCommon
impl UnwindSafe for ResourceCommon
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,