#[non_exhaustive]pub struct ProjectProperties {
    pub properties: Vec<Property>,
}Expand description
A descriptor for defining project properties for a service. One service may have many consumer projects, and the service may want to behave differently depending on some properties on the project. For example, a project may be associated with a school, or a business, or a government agency, a business type property on the project may affect how a service responds to the client. This descriptor defines which properties are allowed to be set on a project.
Example:
project_properties: properties:
- name: NO_WATERMARK type: BOOL description: Allows usage of the API without watermarks.
- name: EXTENDED_TILE_CACHE_PERIOD type: INT64
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.properties: Vec<Property>List of per consumer project-specific properties.
Implementations§
Source§impl ProjectProperties
 
impl ProjectProperties
Sourcepub fn set_properties<T, V>(self, v: T) -> Self
 
pub fn set_properties<T, V>(self, v: T) -> Self
Sets the value of properties.
Trait Implementations§
Source§impl Clone for ProjectProperties
 
impl Clone for ProjectProperties
Source§fn clone(&self) -> ProjectProperties
 
fn clone(&self) -> ProjectProperties
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 ProjectProperties
 
impl Debug for ProjectProperties
Source§impl Default for ProjectProperties
 
impl Default for ProjectProperties
Source§fn default() -> ProjectProperties
 
fn default() -> ProjectProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectPropertieswhere
    ProjectProperties: Default,
 
impl<'de> Deserialize<'de> for ProjectPropertieswhere
    ProjectProperties: Default,
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 Message for ProjectProperties
 
impl Message for ProjectProperties
Source§impl PartialEq for ProjectProperties
 
impl PartialEq for ProjectProperties
Source§impl Serialize for ProjectProperties
 
impl Serialize for ProjectProperties
impl StructuralPartialEq for ProjectProperties
Auto Trait Implementations§
impl Freeze for ProjectProperties
impl RefUnwindSafe for ProjectProperties
impl Send for ProjectProperties
impl Sync for ProjectProperties
impl Unpin for ProjectProperties
impl UnwindSafe for ProjectProperties
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