pub struct Advertisement {
pub ls_refs: bool,
pub fetch: bool,
pub fetch_shallow: bool,
}Expand description
capability advertisement の解析結果。使用するものだけを保持する。
Fields§
§ls_refs: bool§fetch: bool§fetch_shallow: boolfetch が shallow (deepen) を受けるか。
Trait Implementations§
Source§impl Clone for Advertisement
impl Clone for Advertisement
Source§fn clone(&self) -> Advertisement
fn clone(&self) -> Advertisement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Advertisement
impl Debug for Advertisement
Source§impl Default for Advertisement
impl Default for Advertisement
Source§fn default() -> Advertisement
fn default() -> Advertisement
Returns the “default value” for a type. Read more
Source§impl PartialEq for Advertisement
impl PartialEq for Advertisement
Source§fn eq(&self, other: &Advertisement) -> bool
fn eq(&self, other: &Advertisement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Advertisement
impl StructuralPartialEq for Advertisement
Auto Trait Implementations§
impl Freeze for Advertisement
impl RefUnwindSafe for Advertisement
impl Send for Advertisement
impl Sync for Advertisement
impl Unpin for Advertisement
impl UnsafeUnpin for Advertisement
impl UnwindSafe for Advertisement
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