pub struct WriterDescriptor {
pub name: String,
pub formats: Vec<ArtifactFormat>,
pub input: NodeMatch,
pub shape: ShapeFilter,
pub fallback: bool,
}Fields§
§name: String§formats: Vec<ArtifactFormat>§input: NodeMatch§shape: ShapeFilter§fallback: boolMarks the last-resort structural writer (the byte/hash fallback). Under
composing dispatch (CFM-81) the fallback runs only when no other writer
claimed the link; a fallback writer always declares empty formats.
Trait Implementations§
Source§impl Clone for WriterDescriptor
impl Clone for WriterDescriptor
Source§fn clone(&self) -> WriterDescriptor
fn clone(&self) -> WriterDescriptor
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 WriterDescriptor
impl Debug for WriterDescriptor
Source§impl<'de> Deserialize<'de> for WriterDescriptor
impl<'de> Deserialize<'de> for WriterDescriptor
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 WriterDescriptor
impl RefUnwindSafe for WriterDescriptor
impl Send for WriterDescriptor
impl Sync for WriterDescriptor
impl Unpin for WriterDescriptor
impl UnsafeUnpin for WriterDescriptor
impl UnwindSafe for WriterDescriptor
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