Trait protobuf::Clear

source ·
pub trait Clear {
    // Required method
    fn clear(&mut self);
}
Expand description

anything that can be cleared

Required Methods§

source

fn clear(&mut self)

Clear this make, make it equivalent to newly created object.

Implementations on Foreign Types§

source§

impl<T> Clear for Option<T>

source§

fn clear(&mut self)

source§

impl<T> Clear for Vec<T>

source§

fn clear(&mut self)

source§

impl Clear for String

source§

fn clear(&mut self)

Implementors§

source§

impl Clear for DescriptorProto

source§

impl Clear for DescriptorProto_ExtensionRange

source§

impl Clear for DescriptorProto_ReservedRange

source§

impl Clear for EnumDescriptorProto

source§

impl Clear for EnumDescriptorProto_EnumReservedRange

source§

impl Clear for EnumOptions

source§

impl Clear for EnumValueDescriptorProto

source§

impl Clear for EnumValueOptions

source§

impl Clear for ExtensionRangeOptions

source§

impl Clear for FieldDescriptorProto

source§

impl Clear for FieldOptions

source§

impl Clear for FileDescriptorProto

source§

impl Clear for FileDescriptorSet

source§

impl Clear for FileOptions

source§

impl Clear for GeneratedCodeInfo

source§

impl Clear for GeneratedCodeInfo_Annotation

source§

impl Clear for MessageOptions

source§

impl Clear for MethodDescriptorProto

source§

impl Clear for MethodOptions

source§

impl Clear for OneofDescriptorProto

source§

impl Clear for OneofOptions

source§

impl Clear for ServiceDescriptorProto

source§

impl Clear for ServiceOptions

source§

impl Clear for SourceCodeInfo

source§

impl Clear for SourceCodeInfo_Location

source§

impl Clear for UninterpretedOption

source§

impl Clear for UninterpretedOption_NamePart

source§

impl Clear for CodeGeneratorRequest

source§

impl Clear for CodeGeneratorResponse

source§

impl Clear for CodeGeneratorResponse_File

source§

impl Clear for Version

source§

impl Clear for UnknownFields

source§

impl Clear for Any

source§

impl Clear for Api

source§

impl Clear for BoolValue

source§

impl Clear for BytesValue

source§

impl Clear for DoubleValue

source§

impl Clear for Duration

source§

impl Clear for Empty

source§

impl Clear for Enum

source§

impl Clear for EnumValue

source§

impl Clear for Field

source§

impl Clear for FieldMask

source§

impl Clear for FloatValue

source§

impl Clear for Int32Value

source§

impl Clear for Int64Value

source§

impl Clear for ListValue

source§

impl Clear for Method

source§

impl Clear for Mixin

source§

impl Clear for protobuf::well_known_types::Option

source§

impl Clear for SourceContext

source§

impl Clear for StringValue

source§

impl Clear for Struct

source§

impl Clear for Timestamp

source§

impl Clear for Type

source§

impl Clear for UInt32Value

source§

impl Clear for UInt64Value

source§

impl Clear for Value

source§

impl<T> Clear for RepeatedField<T>