pub struct VerifyRequest { /* private fields */ }Implementations§
Source§impl VerifyRequest
impl VerifyRequest
pub fn new(scope: impl Into<String>, statement: impl Into<String>) -> Self
pub fn fact( scope: impl Into<String>, fact: impl Into<String>, brain: impl Into<String>, ) -> Result<Self, AqlBuildError>
pub fn json(self) -> Self
pub fn markdown(self) -> Self
pub fn audit(self) -> Self
pub fn with_format(self, format: VerifyOutputFormat) -> Self
pub fn scope(&self) -> &str
pub fn statement(&self) -> &str
pub fn format(&self) -> VerifyOutputFormat
pub fn path(&self) -> String
Trait Implementations§
Source§impl Clone for VerifyRequest
impl Clone for VerifyRequest
Source§fn clone(&self) -> VerifyRequest
fn clone(&self) -> VerifyRequest
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 VerifyRequest
impl Debug for VerifyRequest
impl Eq for VerifyRequest
Source§impl PartialEq for VerifyRequest
impl PartialEq for VerifyRequest
Source§fn eq(&self, other: &VerifyRequest) -> bool
fn eq(&self, other: &VerifyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerifyRequest
Auto Trait Implementations§
impl Freeze for VerifyRequest
impl RefUnwindSafe for VerifyRequest
impl Send for VerifyRequest
impl Sync for VerifyRequest
impl Unpin for VerifyRequest
impl UnsafeUnpin for VerifyRequest
impl UnwindSafe for VerifyRequest
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