pub struct SchemaExport {
pub schema_version: String,
pub generated_at_utc: String,
pub library: SchemaLibraryInfo,
pub target: SchemaTargetInfo,
pub capabilities: SchemaCapabilities,
pub tags: Vec<SchemaTag>,
pub udts: Vec<SchemaUdt>,
pub warnings: Vec<String>,
}Expand description
Complete schema document exported from a connected client.
Fields§
§schema_version: StringVersion of the JSON schema contract, independent of the library version.
generated_at_utc: StringUTC generation time in RFC 3339 format.
library: SchemaLibraryInfoLibrary identity that produced the export.
target: SchemaTargetInfoController address, route, and identity information when known.
capabilities: SchemaCapabilitiesDiscovery surfaces available in this export.
Discovered controller- and program-scoped tags.
udts: Vec<SchemaUdt>Discovered user-defined types.
warnings: Vec<String>Omissions or uncertainty consumers should surface.
Implementations§
Trait Implementations§
Source§impl Clone for SchemaExport
impl Clone for SchemaExport
Source§fn clone(&self) -> SchemaExport
fn clone(&self) -> SchemaExport
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 SchemaExport
impl Debug for SchemaExport
Source§impl<'de> Deserialize<'de> for SchemaExport
impl<'de> Deserialize<'de> for SchemaExport
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 SchemaExport
impl RefUnwindSafe for SchemaExport
impl Send for SchemaExport
impl Sync for SchemaExport
impl Unpin for SchemaExport
impl UnsafeUnpin for SchemaExport
impl UnwindSafe for SchemaExport
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