pub struct RenderedProto {
pub package: String,
pub file_name: String,
pub text: String,
}Expand description
One rendered proto3 file.
Fields§
§package: StringThe package it holds ("" for the default package).
file_name: StringFile name used both on disk and in import statements.
text: StringFull proto3 source.
Trait Implementations§
Source§impl Clone for RenderedProto
impl Clone for RenderedProto
Source§fn clone(&self) -> RenderedProto
fn clone(&self) -> RenderedProto
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 RenderedProto
impl RefUnwindSafe for RenderedProto
impl Send for RenderedProto
impl Sync for RenderedProto
impl Unpin for RenderedProto
impl UnwindSafe for RenderedProto
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