pub struct VaultDraft {
pub id: Uuid,
pub tool: VaultTool,
pub summary: String,
pub item_id: Option<String>,
pub item_name: Option<String>,
pub field: Option<String>,
pub masked_diff: Option<String>,
pub attachment: Option<VaultAttachmentDraft>,
pub needs_unlock: bool,
}Expand description
One vault call held for the reader’s approval.
The blocked MCP handler awaits the answer; no operation runs in the vault unless the answer approved it. Every field here is safe to draw: no secret value, no key, no TOTP seed, no card number.
Fields§
§id: UuidThe call’s own id, which is what an answer is addressed by.
tool: VaultToolThe tool the call names.
summary: StringThe one-line summary the card draws. Written by the facade; never a secret value.
item_id: Option<String>The item the call reads or changes, when it names one.
item_name: Option<String>The item’s name, so the card names what it is about without a second read.
field: Option<String>The field a reveal names, or the field set a change touches.
masked_diff: Option<String>A diff with every secret value masked, when the call changes fields.
attachment: Option<VaultAttachmentDraft>The attachment a call gets or puts, when it names one.
needs_unlock: boolWhether the shared session is locked as this card is drawn. The core fills this from the live session on every read, never at park time, so a card whose sibling unlocked first re-bases to an ordinary approve card.
Implementations§
Source§impl VaultDraft
impl VaultDraft
Trait Implementations§
Source§impl Clone for VaultDraft
impl Clone for VaultDraft
Source§impl Debug for VaultDraft
impl Debug for VaultDraft
Source§impl<'de> Deserialize<'de> for VaultDraft
impl<'de> Deserialize<'de> for VaultDraft
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>,
impl Eq for VaultDraft
Source§impl PartialEq for VaultDraft
impl PartialEq for VaultDraft
Source§impl Serialize for VaultDraft
impl Serialize for VaultDraft
impl StructuralPartialEq for VaultDraft
Auto Trait Implementations§
impl Freeze for VaultDraft
impl RefUnwindSafe for VaultDraft
impl Send for VaultDraft
impl Sync for VaultDraft
impl Unpin for VaultDraft
impl UnsafeUnpin for VaultDraft
impl UnwindSafe for VaultDraft
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.