#[non_exhaustive]pub struct LicenseConversionContext {
pub usage_operation: Option<String>,
}Expand description
Information about a license type conversion task.
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.usage_operation: Option<String>The Usage operation value that corresponds to the license type you are converting your resource from. For more information about which platforms correspond to which usage operation values see Sample data: usage operation by platform
Implementations§
source§impl LicenseConversionContext
impl LicenseConversionContext
sourcepub fn usage_operation(&self) -> Option<&str>
pub fn usage_operation(&self) -> Option<&str>
The Usage operation value that corresponds to the license type you are converting your resource from. For more information about which platforms correspond to which usage operation values see Sample data: usage operation by platform
source§impl LicenseConversionContext
impl LicenseConversionContext
sourcepub fn builder() -> LicenseConversionContextBuilder
pub fn builder() -> LicenseConversionContextBuilder
Creates a new builder-style object to manufacture LicenseConversionContext.
Trait Implementations§
source§impl Clone for LicenseConversionContext
impl Clone for LicenseConversionContext
source§fn clone(&self) -> LicenseConversionContext
fn clone(&self) -> LicenseConversionContext
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 LicenseConversionContext
impl Debug for LicenseConversionContext
source§impl PartialEq<LicenseConversionContext> for LicenseConversionContext
impl PartialEq<LicenseConversionContext> for LicenseConversionContext
source§fn eq(&self, other: &LicenseConversionContext) -> bool
fn eq(&self, other: &LicenseConversionContext) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LicenseConversionContext
Auto Trait Implementations§
impl RefUnwindSafe for LicenseConversionContext
impl Send for LicenseConversionContext
impl Sync for LicenseConversionContext
impl Unpin for LicenseConversionContext
impl UnwindSafe for LicenseConversionContext
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