pub struct GetTrackEventDescriptorReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetTrackEventDescriptorReturnObject.
Implementations§
Source§impl GetTrackEventDescriptorReturnObjectBuilder
impl GetTrackEventDescriptorReturnObjectBuilder
Sourcepub fn descriptor(&mut self, value: String) -> &mut Self
pub fn descriptor(&mut self, value: String) -> &mut Self
Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message.
Sourcepub fn build(
&self,
) -> Result<GetTrackEventDescriptorReturnObject, GetTrackEventDescriptorReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetTrackEventDescriptorReturnObject, GetTrackEventDescriptorReturnObjectBuilderError>
Builds a new GetTrackEventDescriptorReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for GetTrackEventDescriptorReturnObjectBuilder
impl Clone for GetTrackEventDescriptorReturnObjectBuilder
Source§fn clone(&self) -> GetTrackEventDescriptorReturnObjectBuilder
fn clone(&self) -> GetTrackEventDescriptorReturnObjectBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GetTrackEventDescriptorReturnObjectBuilder
impl RefUnwindSafe for GetTrackEventDescriptorReturnObjectBuilder
impl Send for GetTrackEventDescriptorReturnObjectBuilder
impl Sync for GetTrackEventDescriptorReturnObjectBuilder
impl Unpin for GetTrackEventDescriptorReturnObjectBuilder
impl UnsafeUnpin for GetTrackEventDescriptorReturnObjectBuilder
impl UnwindSafe for GetTrackEventDescriptorReturnObjectBuilder
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