mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
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:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user