pub enum WktImports {
Central,
PerFile,
}Expand description
Where the Google well-known-type imports live.
Variants§
Central
One _wkt.proto base file, re-exported via import public (default).
PerFile
Each package file imports the google/protobuf/* files it uses.
Trait Implementations§
Source§impl Clone for WktImports
impl Clone for WktImports
Source§fn clone(&self) -> WktImports
fn clone(&self) -> WktImports
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 moreSource§impl Debug for WktImports
impl Debug for WktImports
Source§impl Default for WktImports
impl Default for WktImports
Source§fn default() -> WktImports
fn default() -> WktImports
Returns the “default value” for a type. Read more
Source§impl PartialEq for WktImports
impl PartialEq for WktImports
impl Copy for WktImports
impl Eq for WktImports
impl StructuralPartialEq for WktImports
Auto Trait Implementations§
impl Freeze for WktImports
impl RefUnwindSafe for WktImports
impl Send for WktImports
impl Sync for WktImports
impl Unpin for WktImports
impl UnwindSafe for WktImports
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