pub struct NormalizedPromptGrant {
pub prompt_name: String,
pub operations: Vec<NormalizedOperation>,
}Expand description
Proof-facing prompt grant.
Fields§
§prompt_name: String§operations: Vec<NormalizedOperation>Implementations§
Source§impl NormalizedPromptGrant
impl NormalizedPromptGrant
pub fn is_subset_of(&self, parent: &Self) -> bool
Trait Implementations§
Source§impl Clone for NormalizedPromptGrant
impl Clone for NormalizedPromptGrant
Source§fn clone(&self) -> NormalizedPromptGrant
fn clone(&self) -> NormalizedPromptGrant
Returns a duplicate of the value. Read more
1.0.0 · 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 NormalizedPromptGrant
impl Debug for NormalizedPromptGrant
Source§impl<'de> Deserialize<'de> for NormalizedPromptGrant
impl<'de> Deserialize<'de> for NormalizedPromptGrant
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 From<&PromptGrant> for NormalizedPromptGrant
impl From<&PromptGrant> for NormalizedPromptGrant
Source§fn from(grant: &PromptGrant) -> Self
fn from(grant: &PromptGrant) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NormalizedPromptGrant
impl PartialEq for NormalizedPromptGrant
Source§impl Serialize for NormalizedPromptGrant
impl Serialize for NormalizedPromptGrant
impl Eq for NormalizedPromptGrant
impl StructuralPartialEq for NormalizedPromptGrant
Auto Trait Implementations§
impl Freeze for NormalizedPromptGrant
impl RefUnwindSafe for NormalizedPromptGrant
impl Send for NormalizedPromptGrant
impl Sync for NormalizedPromptGrant
impl Unpin for NormalizedPromptGrant
impl UnsafeUnpin for NormalizedPromptGrant
impl UnwindSafe for NormalizedPromptGrant
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