pub struct SourceBundleSource {
pub kind: SourceKind,
pub path: String,
pub slot: SourceSlot,
pub source_bytes: CanonicalUint64Decimal,
}Expand description
Metadata for one named byte buffer supplied out of band.
JSON schema
{
"description": "Metadata for one named byte buffer supplied out of band.",
"type": "object",
"required": [
"kind",
"path",
"slot",
"source_bytes"
],
"properties": {
"kind": {
"$ref": "#/$defs/SourceKind"
},
"path": {
"type": "string"
},
"slot": {
"$ref": "#/$defs/SourceSlot"
},
"source_bytes": {
"$ref": "#/$defs/CanonicalUint64Decimal"
}
},
"additionalProperties": false
}Fields§
§kind: SourceKind§path: String§slot: SourceSlot§source_bytes: CanonicalUint64DecimalTrait Implementations§
Source§impl Clone for SourceBundleSource
impl Clone for SourceBundleSource
Source§fn clone(&self) -> SourceBundleSource
fn clone(&self) -> SourceBundleSource
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 SourceBundleSource
impl Debug for SourceBundleSource
Source§impl<'de> Deserialize<'de> for SourceBundleSource
impl<'de> Deserialize<'de> for SourceBundleSource
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 SourceBundleSource
impl RefUnwindSafe for SourceBundleSource
impl Send for SourceBundleSource
impl Sync for SourceBundleSource
impl Unpin for SourceBundleSource
impl UnsafeUnpin for SourceBundleSource
impl UnwindSafe for SourceBundleSource
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