pub struct BinderSource {
pub target: BinderTarget,
pub subelements: Vec<String>,
}Expand description
One object or subelement selection consumed by a design binder.
Fields§
§target: BinderTargetBound object identity.
subelements: Vec<String>Ordered native subelement selectors; empty selects the complete object.
Trait Implementations§
Source§impl Clone for BinderSource
impl Clone for BinderSource
Source§fn clone(&self) -> BinderSource
fn clone(&self) -> BinderSource
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 BinderSource
impl Debug for BinderSource
Source§impl<'de> Deserialize<'de> for BinderSource
impl<'de> Deserialize<'de> for BinderSource
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
impl Eq for BinderSource
Source§impl JsonSchema for BinderSource
impl JsonSchema for BinderSource
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for BinderSource
impl PartialEq for BinderSource
Source§impl Serialize for BinderSource
impl Serialize for BinderSource
impl StructuralPartialEq for BinderSource
Auto Trait Implementations§
impl Freeze for BinderSource
impl RefUnwindSafe for BinderSource
impl Send for BinderSource
impl Sync for BinderSource
impl Unpin for BinderSource
impl UnsafeUnpin for BinderSource
impl UnwindSafe for BinderSource
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