pub struct HostedSpool {
pub spool_id: String,
pub full_path: String,
pub kind: String,
pub is_repo: bool,
pub last_activity_at: Option<Timestamp>,
pub settings: Option<SpoolSettings>,
pub latest_import_operation_id: Option<OperationId>,
}Expand description
The unified settings-read result: SpoolSummary-style metadata plus the FULL
SpoolSettings, so Settings + Overview + Repos render from one call. kind is
a UX label only (like SpoolSummary), never structural; is_repo is the
capability flag.
Fields§
§spool_id: String§full_path: String§kind: StringUX label only: “namespace” | “repository” — NEVER structural
is_repo: boolcapability: content-bearing spool (pushable/pullable)
last_activity_at: Option<Timestamp>Unset when the serving registry has no activity data (mirrors SpoolSummary.last_activity_at).
settings: Option<SpoolSettings>The full spool settings (visibility, description, write_policy, default_state_visibility, …). Reuses the existing SpoolSettings message.
latest_import_operation_id: Option<OperationId>Most recent canonical import operation targeting this spool. Clients load its durable snapshot through OperationService; absent means no known import operation. Handler adoption is part of the planned cutover.
Trait Implementations§
Source§impl Clone for HostedSpool
impl Clone for HostedSpool
Source§fn clone(&self) -> HostedSpool
fn clone(&self) -> HostedSpool
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HostedSpool
impl Debug for HostedSpool
Source§impl Default for HostedSpool
impl Default for HostedSpool
impl Eq for HostedSpool
Source§impl Hash for HostedSpool
impl Hash for HostedSpool
Source§impl Message for HostedSpool
impl Message for HostedSpool
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.