pub struct PropertyRefusal {
pub code: String,
pub message: String,
}Expand description
Why one object’s property sets were refused: the shared binding code and message of the error the per-object call returns.
Fields§
§code: StringThe binding error code: missing-entity, wrong-entity-type,
invalid-model, missing-reference, budget-exceeded,
unsupported, …
message: StringThe error’s message.
Trait Implementations§
Source§impl Clone for PropertyRefusal
impl Clone for PropertyRefusal
Source§fn clone(&self) -> PropertyRefusal
fn clone(&self) -> PropertyRefusal
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 moreSource§impl Debug for PropertyRefusal
impl Debug for PropertyRefusal
impl Eq for PropertyRefusal
Source§impl From<&BindingError> for PropertyRefusal
impl From<&BindingError> for PropertyRefusal
Source§fn from(error: &BindingError) -> Self
fn from(error: &BindingError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PropertyRefusal
impl PartialEq for PropertyRefusal
impl StructuralPartialEq for PropertyRefusal
Auto Trait Implementations§
impl Freeze for PropertyRefusal
impl RefUnwindSafe for PropertyRefusal
impl Send for PropertyRefusal
impl Sync for PropertyRefusal
impl Unpin for PropertyRefusal
impl UnsafeUnpin for PropertyRefusal
impl UnwindSafe for PropertyRefusal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.