pub struct PayloadPolicy {
pub inline_threshold_bytes: Option<u32>,
pub preview_bytes: Option<u32>,
}Expand description
Where the kernel draws the inline/external line for a tool result (§7.10).
There is deliberately no directory/root field: a PayloadRef is an opaque locator, never
a host path (§7.10 rule 7).
Fields§
§inline_threshold_bytes: Option<u32>Results at or above this size are committed as External rather than inline.
preview_bytes: Option<u32>Bytes of preview the kernel keeps resident for an external payload.
Trait Implementations§
Source§impl Clone for PayloadPolicy
impl Clone for PayloadPolicy
Source§fn clone(&self) -> PayloadPolicy
fn clone(&self) -> PayloadPolicy
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 PayloadPolicy
impl Debug for PayloadPolicy
Source§impl Default for PayloadPolicy
impl Default for PayloadPolicy
Source§fn default() -> PayloadPolicy
fn default() -> PayloadPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PayloadPolicy
impl<'de> Deserialize<'de> for PayloadPolicy
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
Source§impl PartialEq for PayloadPolicy
impl PartialEq for PayloadPolicy
Source§impl Serialize for PayloadPolicy
impl Serialize for PayloadPolicy
impl StructuralPartialEq for PayloadPolicy
Auto Trait Implementations§
impl Freeze for PayloadPolicy
impl RefUnwindSafe for PayloadPolicy
impl Send for PayloadPolicy
impl Sync for PayloadPolicy
impl Unpin for PayloadPolicy
impl UnsafeUnpin for PayloadPolicy
impl UnwindSafe for PayloadPolicy
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