pub struct PeerFilesReport {
pub root: String,
pub max_ttl_secs: u64,
pub max_bytes: u64,
}Expand description
The declared exports.peer_files block as it appears in a ScopeReport.
A flattened copy rather than PeerFilesExport itself, on the same terms as
ExportsFilesReport: a wire shape with a stable field order, which must not move whenever
the manifest type gains a field the report has no business publishing.
Fields§
§root: Stringexports.peer_files.root verbatim, as declared.
max_ttl_secs: u64The effective handle-lifetime ceiling in seconds, with the ephemeral default already applied — so an operator reads the value the runtime will actually clamp to, not the absence of a declaration.
max_bytes: u64The effective per-file ceiling on a redeemed read, with the default already applied.
Trait Implementations§
Source§impl Clone for PeerFilesReport
impl Clone for PeerFilesReport
Source§impl Debug for PeerFilesReport
impl Debug for PeerFilesReport
impl Eq for PeerFilesReport
Source§impl From<&PeerFilesExport> for PeerFilesReport
impl From<&PeerFilesExport> for PeerFilesReport
Source§fn from(export: &PeerFilesExport) -> Self
fn from(export: &PeerFilesExport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PeerFilesReport
impl PartialEq for PeerFilesReport
Source§impl Serialize for PeerFilesReport
impl Serialize for PeerFilesReport
impl StructuralPartialEq for PeerFilesReport
Auto Trait Implementations§
impl Forget for PeerFilesReport
impl Freeze for PeerFilesReport
impl Move for PeerFilesReport
impl RefUnwindSafe for PeerFilesReport
impl Send for PeerFilesReport
impl Sync for PeerFilesReport
impl Unpin for PeerFilesReport
impl UnsafeUnpin for PeerFilesReport
impl UnwindSafe for PeerFilesReport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more