pub struct FieldMask { /* private fields */ }Expand description
As tree structure that repersents a set of nested fields.
This is based on the FieldMaskTree that is found in the C++ & Java protobuf libraries. It can be used for conditionally clearing or updating crate::Instance. A tree is used to simplify & speed up filtering fields
A field mask contains a series of paths to attributes such as ["foo.a", "foo.b", "bar"]. Internally that would be repersented as a tree like below:
foo bar
/ \
a bImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldMask
impl RefUnwindSafe for FieldMask
impl Send for FieldMask
impl Sync for FieldMask
impl Unpin for FieldMask
impl UnwindSafe for FieldMask
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