pub struct AssetsWritten {
pub id: NativeId,
pub content: Option<String>,
}Expand description
What an asset-carrying write answers with: where the record now is, and the content the destination stored.
Fields§
§id: NativeIdThe id the destination holds the record under.
content: Option<String>The content as stored — each ./<name> reference pointed at where the destination
serves that asset, for a source that serves them at a URL; unchanged for one that keeps
them beside the record.
Trait Implementations§
Source§impl Clone for AssetsWritten
impl Clone for AssetsWritten
Source§impl Debug for AssetsWritten
impl Debug for AssetsWritten
Source§impl<'de> Deserialize<'de> for AssetsWritten
impl<'de> Deserialize<'de> for AssetsWritten
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 AssetsWritten
Source§impl JsonSchema for AssetsWritten
impl JsonSchema for AssetsWritten
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 AssetsWritten
impl PartialEq for AssetsWritten
Source§impl Serialize for AssetsWritten
impl Serialize for AssetsWritten
impl StructuralPartialEq for AssetsWritten
Auto Trait Implementations§
impl Freeze for AssetsWritten
impl RefUnwindSafe for AssetsWritten
impl Send for AssetsWritten
impl Sync for AssetsWritten
impl Unpin for AssetsWritten
impl UnsafeUnpin for AssetsWritten
impl UnwindSafe for AssetsWritten
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