pub struct PropertyRule {
pub bind_key: &'static str,
pub sources: &'static [ValueSource],
pub value_type: RuleValueType,
pub destination: Destination,
pub required: bool,
}Fields§
§bind_key: &'static str§sources: &'static [ValueSource]§value_type: RuleValueType§destination: Destination§required: boolTrait Implementations§
Source§impl Clone for PropertyRule
impl Clone for PropertyRule
Source§fn clone(&self) -> PropertyRule
fn clone(&self) -> PropertyRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PropertyRule
Auto Trait Implementations§
impl Freeze for PropertyRule
impl RefUnwindSafe for PropertyRule
impl Send for PropertyRule
impl Sync for PropertyRule
impl Unpin for PropertyRule
impl UnsafeUnpin for PropertyRule
impl UnwindSafe for PropertyRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]