pub struct UseConfiguration {
pub source: Option<Ref>,
pub source_name: Option<String>,
pub target_name: Option<String>,
pub availability: Option<Availability>,
pub type_: Option<ConfigType>,
pub default: Option<ConfigValue>,
pub source_dictionary: Option<String>,
}
Fields§
§source: Option<Ref>
§source_name: Option<String>
§target_name: Option<String>
§availability: Option<Availability>
§type_: Option<ConfigType>
§default: Option<ConfigValue>
§source_dictionary: Option<String>
Trait Implementations§
Source§impl Clone for UseConfiguration
impl Clone for UseConfiguration
Source§fn clone(&self) -> UseConfiguration
fn clone(&self) -> UseConfiguration
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 UseConfiguration
impl Debug for UseConfiguration
Source§impl Encodable for UseConfiguration
impl Encodable for UseConfiguration
Source§type Encoded = WireUseConfiguration
type Encoded = WireUseConfiguration
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for UseConfigurationwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for UseConfigurationwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireUseConfiguration> for UseConfiguration
impl TakeFrom<WireUseConfiguration> for UseConfiguration
Source§fn take_from(from: &WireUseConfiguration) -> Self
fn take_from(from: &WireUseConfiguration) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for UseConfiguration
impl RefUnwindSafe for UseConfiguration
impl Send for UseConfiguration
impl Sync for UseConfiguration
impl Unpin for UseConfiguration
impl UnwindSafe for UseConfiguration
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