#[non_exhaustive]pub enum PublisherModelView {
Unspecified,
Basic,
Full,
PublisherModelVersionViewBasic,
UnknownValue(UnknownValue),
}Expand description
View enumeration of PublisherModel.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified
The default / unset value. The API will default to the BASIC view.
Basic
Include basic metadata about the publisher model, but not the full contents.
Full
Include everything.
PublisherModelVersionViewBasic
Include: VersionId, ModelVersionExternalName, and SupportedActions.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using PublisherModelView::value or PublisherModelView::name.
Implementations§
Trait Implementations§
Source§impl Clone for PublisherModelView
impl Clone for PublisherModelView
Source§fn clone(&self) -> PublisherModelView
fn clone(&self) -> PublisherModelView
Returns a copy 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 PublisherModelView
impl Debug for PublisherModelView
Source§impl Default for PublisherModelView
impl Default for PublisherModelView
Source§impl<'de> Deserialize<'de> for PublisherModelView
impl<'de> Deserialize<'de> for PublisherModelView
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 Display for PublisherModelView
impl Display for PublisherModelView
Source§impl From<&str> for PublisherModelView
impl From<&str> for PublisherModelView
Source§impl From<i32> for PublisherModelView
impl From<i32> for PublisherModelView
Source§impl PartialEq for PublisherModelView
impl PartialEq for PublisherModelView
Source§impl Serialize for PublisherModelView
impl Serialize for PublisherModelView
impl StructuralPartialEq for PublisherModelView
Auto Trait Implementations§
impl Freeze for PublisherModelView
impl RefUnwindSafe for PublisherModelView
impl Send for PublisherModelView
impl Sync for PublisherModelView
impl Unpin for PublisherModelView
impl UnwindSafe for PublisherModelView
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