pub struct TargetSchema {
pub id: String,
pub operations: Vec<OperationSchema>,
}Expand description
The schema for a single target object: the operations it exposes and the designations each operation requires.
Fields§
§id: StringThe target’s object id (e.g., "filesystem:source").
operations: Vec<OperationSchema>Operations the target exposes.
Trait Implementations§
Source§impl Clone for TargetSchema
impl Clone for TargetSchema
Source§fn clone(&self) -> TargetSchema
fn clone(&self) -> TargetSchema
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 TargetSchema
impl Debug for TargetSchema
Source§impl<'de> Deserialize<'de> for TargetSchema
impl<'de> Deserialize<'de> for TargetSchema
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
Auto Trait Implementations§
impl Freeze for TargetSchema
impl RefUnwindSafe for TargetSchema
impl Send for TargetSchema
impl Sync for TargetSchema
impl Unpin for TargetSchema
impl UnsafeUnpin for TargetSchema
impl UnwindSafe for TargetSchema
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