rss::validation

Trait Validate

Source
pub trait Validate {
    // Required method
    fn validate(&self) -> Result<(), ValidationError>;
}
Expand description

A trait to support data validation.

Required Methods§

Source

fn validate(&self) -> Result<(), ValidationError>

Validate the data against the RSS specification.

Implementors§