pub struct ValidationReport {
pub is_valid: bool,
pub errors: Vec<String>,
pub warnings: Vec<String>,
}
Expand description
バリデーション結果レポート
Fields§
§is_valid: bool
§errors: Vec<String>
§warnings: Vec<String>
Implementations§
Source§impl ValidationReport
impl ValidationReport
Sourcepub fn error_report(&self) -> String
pub fn error_report(&self) -> String
エラーレポートを文字列として取得
Sourcepub fn warning_report(&self) -> String
pub fn warning_report(&self) -> String
警告レポートを文字列として取得
Sourcepub fn full_report(&self) -> String
pub fn full_report(&self) -> String
完全なレポートを文字列として取得
Trait Implementations§
Source§impl Clone for ValidationReport
impl Clone for ValidationReport
Source§fn clone(&self) -> ValidationReport
fn clone(&self) -> ValidationReport
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 moreAuto Trait Implementations§
impl Freeze for ValidationReport
impl RefUnwindSafe for ValidationReport
impl Send for ValidationReport
impl Sync for ValidationReport
impl Unpin for ValidationReport
impl UnwindSafe for ValidationReport
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