Enum cyfs_base::ServiceContractBody
source · pub enum ServiceContractBody {
Traffic(TrafficContract),
ChunkTrans(ChunkTransContract),
}
Variants§
Traffic(TrafficContract)
ChunkTrans(ChunkTransContract)
Trait Implementations§
source§impl Clone for ServiceContractBody
impl Clone for ServiceContractBody
source§fn clone(&self) -> ServiceContractBody
fn clone(&self) -> ServiceContractBody
Returns a copy 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 more