pub struct Refeed {
pub keys: BTreeMap<String, String>,
}Expand description
Body of a refeed order (monetize-embed fleet::Refeed, named here): key → value, the lay’s
feed words. A secret. value is a secret: the Debug names the keys only.
Fields§
§keys: BTreeMap<String, String>Implementations§
Source§impl Refeed
impl Refeed
Sourcepub fn public_site(&self) -> Option<bool>
pub fn public_site(&self) -> Option<bool>
The public-site switch this refeed carries (Some(true) on, Some(false) off); None
when it carries none, or a word that is neither (the decode refuses that one by name).
Sourcepub fn settings(&self) -> Vec<(&'static str, Vec<u8>)>
pub fn settings(&self) -> Vec<(&'static str, Vec<u8>)>
The box’s generic settings this refeed sets, (name, value): the public-site switch
as PUBLIC_SITE_SETTING = on | off, the bytes an administrator’s flip stores.
Sourcepub fn kept_keys(&self) -> Refeed
pub fn kept_keys(&self) -> Refeed
The keys a box keeps beside its feed: every key but the ones kept as settings
(refeed_key::AS_SETTINGS).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Refeed
impl<'de> Deserialize<'de> for Refeed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Refeed
impl StructuralPartialEq for Refeed
Auto Trait Implementations§
impl Freeze for Refeed
impl RefUnwindSafe for Refeed
impl Send for Refeed
impl Sync for Refeed
impl Unpin for Refeed
impl UnsafeUnpin for Refeed
impl UnwindSafe for Refeed
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request