pub struct InfoReport {Show 14 fields
pub info_schema_version: u32,
pub bundle_id: String,
pub name: String,
pub version: Option<String>,
pub description: Option<String>,
pub mode: String,
pub locale: String,
pub app_packs: Vec<PackRef>,
pub extension_providers: Vec<PackRef>,
pub catalogs: Vec<CatalogRef>,
pub access: AccessSummary,
pub capabilities: Vec<String>,
pub hooks: Vec<String>,
pub subscriptions: Vec<String>,
}Fields§
§info_schema_version: u32§bundle_id: String§name: String§version: Option<String>§description: Option<String>§mode: String§locale: String§app_packs: Vec<PackRef>§extension_providers: Vec<PackRef>§catalogs: Vec<CatalogRef>§access: AccessSummary§capabilities: Vec<String>§hooks: Vec<String>§subscriptions: Vec<String>Implementations§
Source§impl InfoReport
impl InfoReport
Sourcepub fn from_opened_bundle(opened: &OpenedBundle) -> Self
pub fn from_opened_bundle(opened: &OpenedBundle) -> Self
Project a .gtbundle artifact’s opened bundle into the info report shape.
When the bundle was opened from an artifact (.gtbundle SquashFS), we
additionally probe each inlined .gtpack file for its manifest.cbor
and populate the per-pack version column. Probing is best-effort:
missing or unreadable pack manifests leave version = None rather than
failing the whole command.
Sourcepub fn from_workspace(path: &Path) -> Result<Self>
pub fn from_workspace(path: &Path) -> Result<Self>
Read a bundle workspace directory and produce the same InfoReport.
Workspace inputs don’t have inlined packs, so version stays None for
every pack. Users see versions once they build to a .gtbundle.
Trait Implementations§
Source§impl Clone for InfoReport
impl Clone for InfoReport
Source§fn clone(&self) -> InfoReport
fn clone(&self) -> InfoReport
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 InfoReport
impl Debug for InfoReport
Source§impl<'de> Deserialize<'de> for InfoReport
impl<'de> Deserialize<'de> for InfoReport
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 InfoReport
impl RefUnwindSafe for InfoReport
impl Send for InfoReport
impl Sync for InfoReport
impl Unpin for InfoReport
impl UnsafeUnpin for InfoReport
impl UnwindSafe for InfoReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request