pub struct ServiceIr(pub Arc<RawValue>);Expand description
A service’s IR, as <service>.ir answers it: IR 3.0 — the document
synapse’s buildIRFromSchemas builds from the same schemas (its
irBackend the service’s namespace, its irMetadata null). Kept as
its JSON, written once.
Tuple Fields§
§0: Arc<RawValue>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ServiceIr
impl<'de> Deserialize<'de> for ServiceIr
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 ServiceIr
impl JsonSchema for ServiceIr
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§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Auto Trait Implementations§
impl Freeze for ServiceIr
impl RefUnwindSafe for ServiceIr
impl Send for ServiceIr
impl Sync for ServiceIr
impl Unpin for ServiceIr
impl UnsafeUnpin for ServiceIr
impl UnwindSafe for ServiceIr
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