mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-17 00:42:13 +01:00
fix(misc): whitespace and trait rename
* `ResourceMethodsBuilder` -> `MethodsBuilder`. This is now precise enough. Previously it was just to similar to what's now a `CallBuilder` * Fixed whitespace issue in `doit()`
This commit is contained in:
@@ -52,7 +52,7 @@ use std::io;
|
||||
use std::fs;
|
||||
use std::thread::sleep;
|
||||
|
||||
pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, CallBuilder, Hub, ReadSeek, Part, ResponseResult, RequestValue, NestedType, Delegate, DefaultDelegate, ResourceMethodsBuilder, Resource, JsonServerError};
|
||||
pub use cmn::{MultiPartReader, ToParts, MethodInfo, Result, CallBuilder, Hub, ReadSeek, Part, ResponseResult, RequestValue, NestedType, Delegate, DefaultDelegate, MethodsBuilder, Resource, JsonServerError};
|
||||
|
||||
|
||||
// ##############
|
||||
|
||||
@@ -744,9 +744,9 @@ else {
|
||||
|
||||
dlg.pre_request();
|
||||
req.send()
|
||||
</%block>
|
||||
</%block>\
|
||||
% if resumable_media_param:
|
||||
}
|
||||
}
|
||||
% endif
|
||||
};
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ pub struct ${ThisType}
|
||||
hub: &'a ${hub_type_name}${hub_type_params_s()},
|
||||
}
|
||||
|
||||
impl${rb_params} ResourceMethodsBuilder for ${ThisType} {}
|
||||
impl${rb_params} MethodsBuilder for ${ThisType} {}
|
||||
|
||||
## Builder Creators Methods ####################
|
||||
impl${rb_params} ${ThisType} {
|
||||
|
||||
@@ -22,7 +22,7 @@ use serde;
|
||||
pub trait Hub: MarkerTrait {}
|
||||
|
||||
/// Identifies types for building methods of a particular resource type
|
||||
pub trait ResourceMethodsBuilder: MarkerTrait {}
|
||||
pub trait MethodsBuilder: MarkerTrait {}
|
||||
|
||||
/// Identifies types which represent builders for a particular resource method
|
||||
pub trait CallBuilder: MarkerTrait {}
|
||||
|
||||
Reference in New Issue
Block a user