pub struct DebugCollectLogsEntry {
pub bundle_path: String,
pub kind: DebugCollectLogsEntryKind,
pub path: String,
pub redaction: Option<DebugCollectLogsRedaction>,
pub required: Option<bool>,
}Expand description
A caller-provided server-local file or directory to include in the debug bundle.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§bundle_path: StringRelative path to use inside the staged bundle/archive.
kind: DebugCollectLogsEntryKindKind of source path to include.
path: StringServer-local source path to read.
redaction: Option<DebugCollectLogsRedaction>How text content from this entry should be redacted. Defaults to plain-text.
required: Option<bool>When true, collection fails if this entry cannot be read. Defaults to false, which records the entry in skippedEntries.
Trait Implementations§
Source§impl Clone for DebugCollectLogsEntry
impl Clone for DebugCollectLogsEntry
Source§fn clone(&self) -> DebugCollectLogsEntry
fn clone(&self) -> DebugCollectLogsEntry
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 DebugCollectLogsEntry
impl Debug for DebugCollectLogsEntry
Source§impl Default for DebugCollectLogsEntry
impl Default for DebugCollectLogsEntry
Source§fn default() -> DebugCollectLogsEntry
fn default() -> DebugCollectLogsEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DebugCollectLogsEntry
impl<'de> Deserialize<'de> for DebugCollectLogsEntry
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 DebugCollectLogsEntry
impl RefUnwindSafe for DebugCollectLogsEntry
impl Send for DebugCollectLogsEntry
impl Sync for DebugCollectLogsEntry
impl Unpin for DebugCollectLogsEntry
impl UnsafeUnpin for DebugCollectLogsEntry
impl UnwindSafe for DebugCollectLogsEntry
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