feat(types): mark unused types with marker trait

For some reason, some google APIs define types they never use. We now
mark them, just because we can, to show our superiority ;) ;) ;) :D .
This commit is contained in:
Sebastian Thiel
2015-03-20 18:31:46 +01:00
parent 10dfeeb1aa
commit 8bb2166da0
3 changed files with 8 additions and 1 deletions

View File

@@ -29,6 +29,10 @@ pub trait ResponseResult: MarkerTrait {}
/// Identifies types which are used in API requests.
pub trait RequestValue: MarkerTrait {}
/// Identifies types which are not actually used by the API
/// This might be a bug within the google API schema.
pub trait UnusedType: MarkerTrait {}
/// Identifies types which are only used as part of other types, which
/// usually are carrying the `Resource` trait.
pub trait Part: MarkerTrait {}