pub struct HostedSource {
pub source_id: String,
pub fields: Vec<ContextField>,
pub terms: ContextTerms,
}Fields§
§source_id: String§fields: Vec<ContextField>§terms: ContextTermsTrait Implementations§
Source§impl Clone for HostedSource
impl Clone for HostedSource
Source§impl Debug for HostedSource
impl Debug for HostedSource
Source§impl<'de> Deserialize<'de> for HostedSource
impl<'de> Deserialize<'de> for HostedSource
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
Source§impl JsonSchema for HostedSource
impl JsonSchema for HostedSource
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 HostedSource
impl PartialEq for HostedSource
Source§impl Serialize for HostedSource
impl Serialize for HostedSource
impl StructuralPartialEq for HostedSource
Auto Trait Implementations§
impl Freeze for HostedSource
impl RefUnwindSafe for HostedSource
impl Send for HostedSource
impl Sync for HostedSource
impl Unpin for HostedSource
impl UnsafeUnpin for HostedSource
impl UnwindSafe for HostedSource
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