pub struct SigNode {
pub index: u32,
pub role: String,
pub identity: String,
pub child_count: usize,
pub value: String,
pub frame: Option<SavedFrame>,
pub secure: bool,
pub children: Vec<SigNode>,
}Expand description
Structural signature stored in the session cache. Values are already redacted.
Fields§
§index: u32Preorder index in the render that produced this node.
role: StringRole string.
identity: StringIdentifier, otherwise title, otherwise description.
child_count: usizeChild count before the cap.
value: StringValue as it was printed, without the surrounding quotes.
frame: Option<SavedFrame>Rounded frame. A shift here does not change revision_of.
secure: boolSecure text field. The raw characters are never stored.
children: Vec<SigNode>Children that were numbered. Capped children are omitted.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SigNode
impl<'de> Deserialize<'de> for SigNode
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
impl Eq for SigNode
impl StructuralPartialEq for SigNode
Auto Trait Implementations§
impl Freeze for SigNode
impl RefUnwindSafe for SigNode
impl Send for SigNode
impl Sync for SigNode
impl Unpin for SigNode
impl UnsafeUnpin for SigNode
impl UnwindSafe for SigNode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.