Struct fluence_faas::SecurityTetraplet
[−]pub struct SecurityTetraplet {
pub peer_pk: String,
pub service_id: String,
pub function_name: String,
pub json_path: String,
}
Expand description
Describes an origin that set corresponding value.
Fields
peer_pk: String
Id of a peer where corresponding value was set.
service_id: String
Id of a service that set corresponding value.
function_name: String
Name of a function that returned corresponding value.
json_path: String
Value was produced by applying this json_path
to the output from call_service
.
Implementations
impl SecurityTetraplet
impl SecurityTetraplet
pub fn literal_tetraplet(init_peer_id: String) -> SecurityTetraplet
pub fn literal_tetraplet(init_peer_id: String) -> SecurityTetraplet
Create a tetraplet for string literals defined in the script
such as variable here (call ("" "") "" ["variable_1"])
.
pub fn from_triplet(triplet: ResolvedTriplet) -> SecurityTetraplet
pub fn add_lambda(&mut self, json_path: &str)
Trait Implementations
impl Clone for SecurityTetraplet
impl Clone for SecurityTetraplet
pub fn clone(&self) -> SecurityTetraplet
pub fn clone(&self) -> SecurityTetraplet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for SecurityTetraplet
impl Debug for SecurityTetraplet
impl Default for SecurityTetraplet
impl Default for SecurityTetraplet
pub fn default() -> SecurityTetraplet
pub fn default() -> SecurityTetraplet
Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for SecurityTetraplet
impl<'de> Deserialize<'de> for SecurityTetraplet
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SecurityTetraplet, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SecurityTetraplet, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Hash for SecurityTetraplet
impl Hash for SecurityTetraplet
impl PartialEq<SecurityTetraplet> for SecurityTetraplet
impl PartialEq<SecurityTetraplet> for SecurityTetraplet
pub fn eq(&self, other: &SecurityTetraplet) -> bool
pub fn eq(&self, other: &SecurityTetraplet) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &SecurityTetraplet) -> bool
pub fn ne(&self, other: &SecurityTetraplet) -> bool
This method tests for !=
.
impl Serialize for SecurityTetraplet
impl Serialize for SecurityTetraplet
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SecurityTetraplet
impl StructuralEq for SecurityTetraplet
impl StructuralPartialEq for SecurityTetraplet
Auto Trait Implementations
impl RefUnwindSafe for SecurityTetraplet
impl Send for SecurityTetraplet
impl Sync for SecurityTetraplet
impl Unpin for SecurityTetraplet
impl UnwindSafe for SecurityTetraplet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> Serialize for T where
T: Serialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more