pub struct GoogleRpcStatusBuilder(/* private fields */);Expand description
Builder for GoogleRpcStatus.
Implementations§
Source§impl GoogleRpcStatusBuilder
impl GoogleRpcStatusBuilder
pub fn code(self, value: impl Into<i32>) -> Self
pub fn message(self, value: impl Into<String>) -> Self
pub fn details(self, value: impl Into<Vec<Map<String, Value>>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> GoogleRpcStatus
pub fn build(self) -> GoogleRpcStatus
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for GoogleRpcStatusBuilder
impl RefUnwindSafe for GoogleRpcStatusBuilder
impl Send for GoogleRpcStatusBuilder
impl Sync for GoogleRpcStatusBuilder
impl Unpin for GoogleRpcStatusBuilder
impl UnsafeUnpin for GoogleRpcStatusBuilder
impl UnwindSafe for GoogleRpcStatusBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more