deuterium 0.2.0

Deuterium is a fancy SQL builder for Rust. It's designed to provide a DSL to easily build SQL queries in safe and *typed* way.

use predicate::{Predicate, ToAbstractPredicate, RcPredicate};

#[deriving(Clone)]
pub struct ExcludePredicate {
    pub predicate: RcPredicate
}

pub trait ToExcludePredicate {
    fn exclude(&self) -> RcPredicate;
}

impl Predicate for ExcludePredicate {}

impl ToExcludePredicate for RcPredicate { 
    fn exclude(&self) -> RcPredicate {
        ExcludePredicate{predicate: self.clone()}.upcast()
    }
}